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

Scaffolding for V1 integration tests #429

Open
3 tasks done
keithmanville opened this issue Apr 1, 2024 · 2 comments
Open
3 tasks done

Scaffolding for V1 integration tests #429

keithmanville opened this issue Apr 1, 2024 · 2 comments
Assignees
Labels
test Additions or changes to project tests

Comments

@keithmanville
Copy link
Collaborator

keithmanville commented Apr 1, 2024

Perform necessary steps in order to start writing integration tests for V1 of the REST API in a way that does not disrupt other existing tests and does not hinder other development.

Definition of Done

  • V1 integration tests can be enabled with a flag passed to pytest
  • V1 integration tests are disabled by default
  • A new namespace is created for the implementation of V1 tests
@keithmanville keithmanville added the test Additions or changes to project tests label Apr 1, 2024
@jkglasbrenner
Copy link
Collaborator

This example is how we can mark test functions as something to only run when a command-line parameter is provided.

https://docs.pytest.org/en/latest/example/simple.html#control-skipping-of-tests-according-to-command-line-option

We basically can invert this, so that the tests only run when the option flag is provided (the example is the reverse).

@keithmanville keithmanville linked a pull request Apr 5, 2024 that will close this issue
@keithmanville keithmanville self-assigned this Apr 5, 2024
@keithmanville
Copy link
Collaborator Author

PR #430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Additions or changes to project tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants