Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated testing #9

Open
4 tasks
dharabor opened this issue Oct 31, 2024 · 2 comments
Open
4 tasks

Automated testing #9

dharabor opened this issue Oct 31, 2024 · 2 comments
Assignees
Labels
next-release Things that go into the next tagged version of warthog.

Comments

@dharabor
Copy link
Member

dharabor commented Oct 31, 2024

  • We need to add a test program, which executes unit, integration and system tests. For a first pass, we will import back the original test cases from the old bitbucket version of warthog.
  • We also need to create a "test" folder with copy into the repo a limited set of data for the tests (maps, scenarios). The test data can also be referred to in the example usage documentation. Suggest CSC2F, random and arena2 + associated scenarios, as a start.
  • We need to add README documentation that directs the user to run the tests, to make sure everything works.
  • In the "tests" folder, we need documentation file (MOREDATA.md?) which directs the user to the SPL benchmark repo, where lots of maps and problem instances can be found.
@dharabor
Copy link
Member Author

dharabor commented Oct 31, 2024

Once all the above is done, suggest a new discussion issue to talk about the testing strategy for warthog-core moving forward; i.e., which things we will write unit tests for, which things we will write integration tests for and which will just be system tests.

Another longer-term goal is CI/CD integration; run the tests as a post-commit hook.

@dharabor dharabor added the next-release Things that go into the next tagged version of warthog. label Oct 31, 2024
@heavenfall
Copy link
Collaborator

Created first unit test for new bittable. #29
Has tests folder. Uses cache2. Enable BUILD_TESTING in cmake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next-release Things that go into the next tagged version of warthog.
Projects
None yet
Development

No branches or pull requests

2 participants