Open Jeoffreybauvin opened 6 years ago
I'll respond myself.
With the right parameter, it is working :
commandTests:
- name: "package_locales"
command: "dpkg"
args: ["-l", "locales" ]
exitCode: 0
- name: "package_htop"
command: "dpkg"
args: ["-l", "htop" ]
exitCode: 1
expected_error: "dpkg-query: no packages found matching htop"
exit_code vs exitCode, thanks to the commit 5ca19944ec76419715a90daca92123c0a5a78348.
Maybe someone can add to the README a full list of parameters ?
Thanks @Jeoffreybauvin. We can look at some tool to generate docs for all tests and add them in.
That would be a great idea ;).
Hi,
I'm using this yaml for testing my Debian container :
But :
In my container :
The test "package_htop" shouldn't break...