Skip to content

Add integration tests for patch application #6

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

Merged
merged 2 commits into from
Jul 2, 2021
Merged

Add integration tests for patch application #6

merged 2 commits into from
Jul 2, 2021

Conversation

bluekeyes
Copy link
Owner

Because this library is pretty tightly coupled with GitHub, the tests
require a GitHub token and use the real API. If the required values are
not in the environment, tests that use them are skipped.

Tests are loaded dynamically by looking for patch files in the testdata
directory. Each test applies the patch against fixed base content and
then compares the result with the expected files.

bluekeyes added 2 commits July 2, 2021 15:47
Because this library is pretty tightly coupled with GitHub, the tests
require a GitHub token and use the real API. If the required values are
not in the environment, tests that use them are skipped.

Tests are loaded dynamically by looking for patch files in the testdata
directory. Each test applies the patch against fixed base content and
then compares the result with the expected files.
@bluekeyes bluekeyes merged commit 6cbbe1c into master Jul 2, 2021
@bluekeyes bluekeyes deleted the testing branch July 2, 2021 22:54
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