cUnit
cUnit copied to clipboard
xUnit for your Dockerfiles
hi, been trying to use test templates like this: ``` @BEFORE RUN DPKG ASSERT_TRUE IS_INSTALLED 'supervisor' ASSERT_TRUE IS_INSTALLED 'postfix' @BEFORE RUN CP ASSERT_TRUE FILE_EXISTS '/etc/skel/.bashrc' ASSERT_TRUE FILE_CONTAINS 'LOGNAME' ASSERT_TRUE FILE_EXISTS...
added IS_RUNNING test. several minor tweaks as well
been working on implementing both (IS_RUNNING and IS_LISTENING_ON_PORT) problem is at build time, cmd/entrypoint dockerfile instructions are not triggered, so we can't easily implement these tests. i've tried to find...