<div dir="ltr">Hey Von,<br><br>Excellent! Glad to hear it. Regarding test harnesses, we probably want to be using this: <<a href="http://mlafeldt.github.io/sharness/">http://mlafeldt.github.io/sharness/</a>>. It's been extracted from the git test harness and follows this protocol: <<a href="http://en.wikipedia.org/wiki/Test_Anything_Protocol">http://en.wikipedia.org/wiki/Test_Anything_Protocol</a>>.<div>
<br></div><div>A non exhaustive list of things I think need tests:</div><div><ul><li>pass mv [directory to file]</li><li>pass mv [file to directory]</li><li>pass mv [file to file]</li><li>pass mv [directory to directory]</li>
<li>pass mv [X to new directory (by having the argument end in "/")]</li><li>pass mv [X to existing directory]</li><li>pass cp [all the above]</li><li>pass [all the above, but reencrypting when source and destination have different .gpg-id settings]</li>
<li>pass init [reencryption with different key]</li><li>pass grep</li><li>pass find</li><li>pass rm</li><li>pass init -p [plus reencryption with different key]</li><li>pass insert, pass ls</li><li>pass insert, pass show</li>
<li>pass insert [with -e, with -m, without either]</li><li>pass insert, cp, mv, rm, generate [with -f, without -f, on existing]</li><li>pass generate [with -n vs without -n]</li><li>pass edit [using shm vs not using shm]</li>
<li>pass git init</li><li>git operations on all commands</li><li>...probably a lot I've left out...</li></ul><div>Note the harness will have to set up a dummy repo, generate a dummy gpg key, and start a dummy gpg-agent, and then destroy all those at the end.</div>
</div><div><br></div><div>Jason</div></div>