Jump to content

Recommended Posts

Posted

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 2
Posted
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.

  • Like 1
Posted (edited)

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
  • Sad 1
  • 4 weeks later...
Posted

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.

 

  • 1 year later...
Posted
В 14.12.2018 в 18:26, WizzarD сказал:

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.

 

That makes me sad too, thanks for you reply.

You can write tests without the game API. You can use mock objects. It's simulated objects that mimic the behavior of real objects in controlled ways, most often as part of a software testing initiative

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...