Closed dorukugur closed 5 years ago
If the button is unable to click, the testrunner should catch that.
Please share this feature with @Neutrinora
I tried to create TDD architecture to test Intro scene by C# script, unity TestRunner. The test goal: check button active self, if it is not enable, testing steps show error with its description. However, it is enable during testing, steps of testing say that the goal is working properly. @rifaterdemsahin @Neutrinora
We're going to focus on smoke sanity testing.
Find clicking run all function automatically.
Find away how to stop in a specific scene.
Create a test for each scene which specific test names.
Enum for scenes.
Learn how to set the test indexes on testrunner steps.
will every scene have a unity test method?
Yes. But some scenes and their test methods are empty right now. Tests will ready for all soon.
@makif6111 practical testing from here also works
Rigiht now test all fails
@dorukugur it works when triggered alone
please check the changes from @Neutrinora
Basic page load is even ok.
@Neutrinora as this is a smoke test just loading can be enough.
If moving the keys cause more than 30 lines of code than it might create more issue than the gain.
@dorukugur please check the comments for them to make sense in tests
this smoke test runners will be used like this https://drive.google.com/file/d/1ct1_VfF6zzCWInCpGEDInLcCI3-ox_af/view?usp=sharing
https://docs.unity3d.com/Manual/testing-editortestsrunner.html