Open larsbutler opened 10 years ago
Do you mean more unit tests or more whole-system tests?
I like both kinds of tests, but for command line programs in particular, system testing makes sense to me. I suggest using the cram tool for some of this like we do for zpm
. Tests like this one immediately revealed some whole-system problems that the more specific unit tests hadn't found.
I will add some, maybe cram ones maybe not.
Most of zvsh
output is not on command line but in the files it creates, cram
seems to be not quite good for that.
Added quite a lot of tests.
zvsh
provides a lot of convenience for running ZeroVM, and it has many options. However, it is not very well tested at present, which makes it tricky to safely make changes.It was suggested by @pkit that we add some functional tests to
zvsh
: https://github.com/zerovm/zerovm-cli/pull/31#issuecomment-40474006