unityro icon indicating copy to clipboard operation
unityro copied to clipboard

Generate unit tests in runtime/compile time.

Open guilhermelhr opened this issue 4 years ago • 2 comments

We should look into a way to generate these tests in runtime or compile time.

Originally posted by @guilhermelhr in https://github.com/guilhermelhr/unityro/issues/11#issuecomment-735288334

guilhermelhr avatar Nov 28 '20 20:11 guilhermelhr

Currently we read the maplist and generate a file with tests for each map, then copy it back to C# and execute them. Since GRFs could contain different maps, it would be desirable to have this be done automatically.

guilhermelhr avatar Nov 28 '20 20:11 guilhermelhr

Another option is to have a single test iterating through the map list and loading them. However the time to execute this would be huge, but threading that could help a bit

Danil0v3s avatar Nov 28 '20 22:11 Danil0v3s