Create test cases for existing subsystems
Because reasons we should add more tests to the code.
Substems with test coverage:
- [X] Pathfinding
- [x] Jobmanager
- [ ] Terrain blending
- [x] Coordinate system
- [ ] Asset manager
- [ ] Logger
For the missing ones, please create some creative tests.
An example how that could look like can be seen in libopenage/datastructure/.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Hey, I can write unit tests for you. I'm still reading up the codebase. But I'll start right away. Anything in particular you guys want from me?
@sreejithr: Whatever test you want to implement, go for it :smile:. If you need any help on the codebase the best would be joining our IRC and asking there.
#197 will benefit greatly from this.
Created tests for pathfinding logic in pull request #241
pull request for testing the file sink logging: https://github.com/SFTtech/openage/pull/309
Made existing testcases for JobManager test with atleast 10 jobs in parallel (https://github.com/SFTtech/openage/pull/310).
This is an evergreen to raise testing coverage of our code. Also it is a good first issue and we can just do it. I will pin this issue to bring more attention to it for new people looking into the issues that want to do stuff.
An example that has been merged already can be seen here: https://github.com/SFTtech/openage/pull/241/files