Develop a test suite
Issues #2 and #6 propose some significant changes to the codebase. It will be helpful to develop a test suite afterward to ensure the existing functionality remains the same for future changes. Unit tests should be fairly straightforward, but functional tests will take some time. Developing a test suite also provides a great ROI when it comes to working o…
Issues #2 and #6 propose some significant changes to the codebase. It will be helpful to develop a test suite afterward to ensure the existing functionality remains the same for future changes. Unit tests should be fairly straightforward, but functional tests will take some time. Developing a test suite also provides a great ROI when it comes to working on this project on and off.
I'm going to use doctest as the testing framework to learn something new. It seems to be pretty popular for how new it is so I'm hoping that it becomes a standard alongside Catch2 in some time. In the event that it doesn't, they're both pretty similar so I'll be making a lateral.
doctest is a header-only library and it seems pretty flexible so I have a few options for adding it to my project:
- manually download and include the header
- add the repository as a submodule
- install using
vcpkg
I plan to install using vcpkg
since the project already has support for that. Should I find the need to add more dependencies to this project, it'll be nice in the future to have them consolidated.
There are no open issues in this milestone.
Add issues to milestones to help organize your work for a particular release or project.
Create new issueOr find and add issues with no milestone in this repo.