-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Profile Tests #570
Comments
I have the following draft: Q: Why python? Q: Why reimplement? Q: Is it on par with Q: What's implemented? Q: What's not implemented? Q: Is it reliable? |
@roddhjav Should I work on my version further, or it's not the approach you want? |
@nobody43 Please continue working on your linter. This is 100% the way to go.
My current priority is to work on profile testing (that goes along with the sub packages #464). Therefore your work on the linter perfectly goes along with it. You are more than welcome to integrate it with this project. |
Understood, I'll come up with something solid after 2 weeks. |
This issue aims to present and discuss the various tests applied to the profiles as well as their current stage of deployment.
Current Status
Build:
make
@{exec_path}
) is defined.Checks:
make check
Check basic style of profiles:
Integration Tests:
make bats
Integration tests for core cli profiles.
go run ./tests/cmd -b
to generate them. They are basic, but they serve as a good starting point.Caution
Do not run the integration tests (
make bats
) outside a system dedicated for this purpose. The tests can be destructive and wipe your data.Plan
For more complex software suite, more integration tests need to be done. The plan is to run existing integration suite from these very software in an environment with apparmor.d profiles.
Systemd
Gnome
The text was updated successfully, but these errors were encountered: