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

Create "backend integration test" framework #3819

Open
4 tasks
6543 opened this issue Jun 22, 2024 · 2 comments
Open
4 tasks

Create "backend integration test" framework #3819

6543 opened this issue Jun 22, 2024 · 2 comments
Labels
summary it's a summary for lot of issues tests related to tests or other things CI check before merge

Comments

@6543
Copy link
Member

6543 commented Jun 22, 2024

and address

Tests to run:

  • Run workflow with steps that should only run if the step before [failed,succeded] (could help with questions like: Remove some ci environment variables #3846 (comment))
  • Services and check if it is started before the steps who need it ...
  • Make sure the Queue respect labels and dependencies correctly
  • ...
@6543 6543 added the tests related to tests or other things CI check before merge label Jun 22, 2024
@6543
Copy link
Member Author

6543 commented Jun 22, 2024

atm we only have unit tests. even the DB migration tests are written similar to unit tests (through you could can call it integration tests when non sqlite DBMS are tested ...)

but we need something witch spins up a full woodpecker instance and run tests against it like -> trigger a pipeline. via "fake" webhook. and see the result. create a pipelien witch inentional should be marked as failed etc ...

@6543 6543 added the summary it's a summary for lot of issues label Jun 22, 2024
@6543
Copy link
Member Author

6543 commented Jun 22, 2024

the pipeline backend part -> #3820

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
summary it's a summary for lot of issues tests related to tests or other things CI check before merge
Projects
None yet
Development

No branches or pull requests

1 participant