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

Test against multiple versions/configurations of paperless #150

Closed
VMelnalksnis opened this issue Jan 18, 2024 · 0 comments · Fixed by #161
Closed

Test against multiple versions/configurations of paperless #150

VMelnalksnis opened this issue Jan 18, 2024 · 0 comments · Fixed by #161
Labels
enhancement New feature or request

Comments

@VMelnalksnis
Copy link
Owner

VMelnalksnis commented Jan 18, 2024

Is your feature request related to a problem? Please describe.
Paperless API behavior has changed across versions, and also changes based on configuration (see PAPERLESS_TIME_ZONE).

Describe the solution you'd like
All integration tests are run against multiple combinations of versions and configurations.

Describe alternatives you've considered

Additional context
I could not find how to do this in XUnit without a ton of code duplication, most likely will have to move to NUnit. With NUnit I've already done something similiar, see https://github.com/VMelnalksnis/Gnomeshade/blob/master/tests/Gnomeshade.WebApi.Tests.Integration/Fixtures/WebserverTests.cs and https://github.com/VMelnalksnis/Gnomeshade/blob/master/tests/Gnomeshade.WebApi.Tests.Integration.PostgreSQL/WebserverSetup.cs

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

Successfully merging a pull request may close this issue.

1 participant