gorgeous-winter-99296
05/29/2023, 7:20 PMhundreds-father-404
05/29/2023, 7:33 PMfast-nail-55400
05/29/2023, 7:47 PMgo_package
is usable with the test
goal because in Go it is whole packages which are tested, not individual files.fast-nail-55400
05/29/2023, 7:49 PMSingleSourceField
" would really only apply to a situation where it makes sense to test file-by-file.fast-nail-55400
05/29/2023, 7:50 PMgorgeous-winter-99296
05/29/2023, 8:12 PMoci_build_image(
name="foobar",
)
oci_structure_test(
image=[":foobar"],
files=["/bin/app/__main__.py"],
digest="abc123efefefef",
...
)
So this technically doesn't require spawning the container, but it'll be quite a lot of work per container to unpack and run the tests, so doing once-per makes most sense.gorgeous-winter-99296
05/29/2023, 8:13 PMgorgeous-winter-99296
05/29/2023, 8:14 PMgorgeous-winter-99296
05/29/2023, 8:16 PMrun
in terms of how it's bundled and executed. Which is very different (I think) from the sharding/batching etc that the page describes. And I don't really need a test runner, and so on.gorgeous-winter-99296
05/29/2023, 8:26 PMgorgeous-winter-99296
05/29/2023, 8:26 PMfast-nail-55400
05/29/2023, 8:28 PMfast-nail-55400
05/29/2023, 8:29 PMfast-nail-55400
05/29/2023, 8:30 PMfast-nail-55400
05/29/2023, 8:30 PMfast-nail-55400
05/29/2023, 8:31 PMfast-nail-55400
05/29/2023, 8:32 PMfast-nail-55400
05/29/2023, 8:33 PMfast-nail-55400
05/29/2023, 8:33 PMone test target = one container = one processseems fine by me
fast-nail-55400
05/29/2023, 8:34 PMgorgeous-winter-99296
05/29/2023, 8:36 PMgorgeous-winter-99296
05/29/2023, 8:37 PMhundreds-father-404
05/29/2023, 8:37 PMgorgeous-winter-99296
05/29/2023, 8:42 PM