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

Deterministic unit tests #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

joshuamegnauth54
Copy link

I fixed all of the unit tests and doc tests so they compile and pass. Previously, the unit tests would fail because they depended on certain programs or themes installed.

I created a fake theme hierarchy so we have more control over tests. I also fixed the doc tests which referred to the old crate which caused them to fail to compile.

Finally, I fixed up the README in the same way.

The previous unit tests depended on several packages which included
themes, such as Adwaita; as well as programs, such as Firefox.

I modified the unit tests to not depend on anything which should help
distros that package Rust dependencies AND run unit tests (which I think
Debian does?).
@joshuamegnauth54
Copy link
Author

Also, the svgs and pngs are fake and zero sized. 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant