Sign in to follow this  
WizzarD

unit testing

Recommended Posts

Hello everyone,

i have a simple question: How do you run automated software-tests (Unit-Tests, Integration-Tests, etc.)?
Is this a thing or do you test every single feature ingame. What about regression testing?

I would like to have some comments, because this is a big thing for delivering high quality software.

  • Like 1

Share this post


Link to post
Share on other sites
vor 26 Minuten schrieb trolovecro:

What do you mean? Compale and printing errors and warnings?

No, i talk about writing tests for single pieces of your software who are working without using the game API. So you could test if they behave correctly without beeing ingame.

 

vor 24 Minuten schrieb Chopper:

Yes sadly. 

That makes me sad too, thanks for you reply.

Share this post


Link to post
Share on other sites

I remember asking Adam about debugging/unit testing several months ago. He knows testing stuff in game is more time consuming than in IDE and he said there were plans to create something to help us debug/unit test. I can't give you a better answer than that

Edited by xForcer

Share this post


Link to post
Share on other sites

You could do.....

            var handle = new NetHandle(5, EntityType.Player);
            var client = handle.Entity<Client>();

but will break on 'plugins/bridge.dll using some properties, some, not all.

Couldn't figure out how to fake/mock the client, might come back to it at some point.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.