-
Notifications
You must be signed in to change notification settings - Fork 71
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
Implement system testing #164
Comments
https://github.com/bats-core/bats-core looks nice. It's available on all major distros (to my knowledge). |
Bats tests are currently implemented in Bats tests are optional. They will be marked as skipped if bats tests cannot be executed. |
I believe that the choice to use Bats was not appropriate. This issue will require more consideration. |
I believe that this change will contribute to the usefulness and maintainability of system tests. The current implementation still has room for improvement. I will try to refactor things when necessary. This commit replaces Bats with pytest and nothing else. The test data and other stuff still references bats. These references will be fixed in other commits. related to #164
Some parts of the codebase (mainly
src/main.cc
) can't be effectively tested with Catch2 (src/main.cc
includes the program entrypoint). System testing can be used to extend the tests. Another solution would be to put parts of the logic frommain.cc
somewhere else, but system testing provides many additional advantages which justify it being implemented in j4-dmenu-desktop.I have considered using the
atf-sh
framework from kyua.This feature won't be a part of the upcoming r3.0 release.
The text was updated successfully, but these errors were encountered: