Re:Dagger Python SDK: Develop Your CI/CD Pipelines as Code
by vvladymyrov on Friday November 11, 2022 @12:01AM
(#33557472)
Related question - as pipelines are not python programs - it would be nice to be able to write unit tests to pipelines code :)
And that's where mock pipelines/tasks could be helpful
[ Parent
| on HN ]
Re:Dagger Python SDK: Develop Your CI/CD Pipelines as Code
by shykes on Friday November 11, 2022 @12:07AM
(#33557497)
You can absolutely test Dagger pipelines, in the same way you test the rest of your code. Just use the dagger library in your tests files, the way you would use any other library. It should work the way you expect.