WizzarD Posted December 14, 2018 Posted December 14, 2018 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. 2
trolovecro Posted December 14, 2018 Posted December 14, 2018 What do you mean? Compale and printing errors and warnings?
Chopper Posted December 14, 2018 Posted December 14, 2018 3 hours ago, WizzarD said: do you test every single feature ingame. Yes sadly.
WizzarD Posted December 14, 2018 Author Posted December 14, 2018 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. 1
xForcer Posted December 15, 2018 Posted December 15, 2018 (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 December 15, 2018 by xForcer 1
Guest Posted January 8, 2019 Posted January 8, 2019 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.
Discore Posted July 31, 2020 Posted July 31, 2020 В 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now