Open desyncr opened 7 years ago
I don't if it is what you need, but here is what I came with: this.
It use your version of zcram. Travis would probably handle
pip install cram
I still believe we could use bats. I did not quite look either zcram or cram, but I feel a shell-based TAP protocol would be the rigth thing for zpm. I can provide bats test file if you want to give it a try.
First, sorry for delaying bunch of -seemenly simple- tasks for so long, I've been quite busy lately and I've been behind work for some time. I'm gonna try to catch up in this weekend.
Second, I have some experience using cram
and I find it quite useful not only for testing -functional, regression- but also for documentation because of how tests are implemented.
I haven't found a similar tool written in shell. I believe it should not be a requirement though.
By the way:
apt-get install zsh
pip install cram
would sufficeSomething like this: https://gist.github.com/desyncr/5cb0ac4a4f1f6439fbfe867cd9e162ad I haven't tested it though. Possible issues with:
It looks like
install:
- sudo -H pip install cram
does the job.
and the Makefile can be modified with
sed -i "s/zcram/cram/" Makefile
see this.
update
)