debian-forge-composer/cmd
Lars Karlitski eb5b198205 dnf-json-tests: use subtests in TestCrossArchDepsolve
For one, this allows us to use `require` instead of `assert` and
`continue`, which was awkward to read. That works because it's ok to
fail a subtest: the remaining subtests are executed after it.

Also, this shows which test was executed, making debugging easier:

    === RUN   TestCrossArchDepsolve
    === RUN   TestCrossArchDepsolve/fedora-30
    === RUN   TestCrossArchDepsolve/fedora-30/x86_64
    === RUN   TestCrossArchDepsolve/fedora-30/x86_64/ami
    ...

You can now also run those sub tests in isolation:

    osbuild-dnf-json-tests -test.run TestCrossArchDepsolve/fedora-30/x86_64/ami

Lastly, it enables running those tests in parallel (not part of this
patch) by calling `t.Parallel()`.
2020-04-07 14:40:12 +02:00
..
osbuild-composer weldr: pin a real Arch object, rather than a string 2020-03-23 15:43:55 +01:00
osbuild-dnf-json-tests dnf-json-tests: use subtests in TestCrossArchDepsolve 2020-04-07 14:40:12 +02:00
osbuild-image-tests tests/image/ami: test ami images on AWS 2020-04-06 16:38:28 +02:00
osbuild-pipeline distro: rename ListArchs to ListArches 2020-03-30 10:41:02 +02:00
osbuild-rcm-tests rcm: rework the API for submitting composes 2020-03-29 16:08:04 +02:00
osbuild-tests tests: Make TestSources distro independent. Refs #315 2020-03-25 16:30:52 +01:00
osbuild-upload-aws Refactor Azure upload code to a separate package 2019-11-27 12:14:07 +01:00
osbuild-upload-azure Introduce Azure upload test 2019-11-29 12:19:40 +01:00
osbuild-worker worker: move running osbuild into separate function 2020-04-06 12:11:54 +02:00