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

Refactor tests to make it easier to add new example functions #306

Merged
merged 6 commits into from
Jan 20, 2023

Conversation

hoodmane
Copy link
Collaborator

This makes it so that it is possible to add a new example while only modifying one location in the code. Add a new class / function / exception in test_integration, indicate the expected output with the @expected decorator. More efficient than having to modify three different files like we had to do before.

hoodmane and others added 2 commits January 19, 2023 18:58
This makes it so that it is possible to add a new example while only
modifying one location in the code. Add a new class / function / exception
in test_integration, indicate the expected output with the @expected decorator.
More efficient than having to modify three different files like we had to do
before.
@gaborbernat gaborbernat merged commit fb30e40 into tox-dev:main Jan 20, 2023
@hoodmane hoodmane deleted the test-refactor branch January 20, 2023 04:26
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.

2 participants