Fork me on GitHub
#polylith
<
2023-01-11
>
xlfe03:01:28

We're looking at how we run different styles of tests with poly test from our build pipeline - we're using polylith-kaocha, and there is https://github.com/imrekoszo/polylith-kaocha/issues/6 about passing cli args, but there's a broader question for me which relates to how do people work with integration and smoke tests being run in a pipeline where you use docker-compose to mock other services (eg a database). we'd essentially want to do something like poly test :unit then later (when we run the associated services) poly test :integration - but at the moment, we can't even pass the cli argument to the kachoa wrapper. Curious how others who use polylith are working with build pipelines and integration tests, etc ? One thing we're thinking about is writing our own kaocha wrapper and using the output of ws:get-changed to run more complex tests at the brick level (and leave poly test to just run unit tests)

👍 2