woodpecker-ci / woodpecker

Woodpecker is a simple yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
3.88k stars 345 forks source link

Create "backend integration test" framework #3819

Open 6543 opened 1 week ago

6543 commented 1 week ago

and address

6543 commented 1 week ago

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 commented 1 week ago

the pipeline backend part -> #3820