world-maker icon indicating copy to clipboard operation
world-maker copied to clipboard

📌 There are no Unit Tests

Open mayank-prasoon opened this issue 3 years ago • 2 comments

There are no unit tests for testing the scripts and functionality of the world maker. This is a fatal flaw in the development and this can result in future problems. Thus, Unit testing needs to be started as soon as possible.

This thread will be updated as new test are added for the old code.

mayank-prasoon avatar Jun 01 '22 17:06 mayank-prasoon

This is marked as good first issue, but information on where to start and what to use are quite rare. More information would be awesome.

IceflowRE avatar Jun 30 '22 14:06 IceflowRE

@IceflowRE ya I'm working on providing more information. Got busy with work and studies. Also I'm trying to find a good way to write documentation. (there is like next to nothing when it comes to resources for Godot).

I'm using GUT for unit testing addon for godot. All the test are stored in test/unit/ pick a scene you want to write a test for or make a folder named test_{name of the system or scene}_system and start writing test. More info on who to write test are in the GUT WIKI the example tests are in the unit-testing-branch same folder.

I will find a way to write a good Doc for the app.

For now, I think it's better to just remove it from good first issue

mayank-prasoon avatar Jul 01 '22 09:07 mayank-prasoon