Alex Batisse
Alex Batisse
> Alex Batisse mentioned that Scenario tests take much longer and the culprit is YAML? Maybe they just need the compiled extension (cyaml?) I checked, and I do have libyaml...
> @Batalex what repo (and branch, if appropriate) are you testing against? I'll use it as a second benchmark so that we're checking against multiple types of tests. I _think_...
Ah, sorry, I was quite slow-witted yesterday. I was testing on https://github.com/canonical/kafka-k8s-operator (branch `feat/dpe-5591-status`, which should be merged into main by today). IIRC, I was specifically running `tox -e unit...
I chatted with Ben, and I'll get started on this issue!
Progress tracker: - [x] https://juju.is/docs/sdk/write-unit-tests-for-your-charm **Note** Removed autouse - [x] https://juju.is/docs/sdk/write-scenario-tests-for-your-charm - [x] https://juju.is/docs/sdk/open-a-kubernetes-port-in-your-charm - [x] https://juju.is/docs/sdk/write-a-unit-test-for-a-charm **Blocked by charmcraft**: the document says that the code snippet comes from `charmcraft...
TBH, the hidden magic is a big part of why I like `pytest`. Though side effects from hidden fixtures can be a pain to debug, I agree.