[pass] Wanted: Test Suite

Von Welch von at vwelch.com
Sat Apr 19 15:04:21 CEST 2014

Here's an initial start at this (mainly in the tests/ directory):

Its mainly a smoke test at this point, but the harness is working. I'll
keep working on it rest of the weekend but any feedback welcome.

BTW, to save a bunch of work in launching a gpg-agent, I'm just using an
unencrypted test key. That might be confusing pass (e.g. 'pass init' works
but returns non-zero), hence the work-around in pass_init() at the moment.
Clearly a bug in some way - if pass isn't going to allow this, it should do
so more cleanly.


On Thu, Apr 17, 2014 at 10:06 PM, Von Welch <von at vwelch.com> wrote:

> I'd be willing to take a stab at this this weekend if no one else jumps on
> it.
> I've got no experience with test frameworks for bash scripts. The cgit
> make-based one looks simple but reasonable. Google turns up a number of
> options. Any opinions welcome.
> Von
> On Thu, Apr 17, 2014 at 7:37 PM, Jason A. Donenfeld <Jason at zx2c4.com>wrote:
>> Hey guys,
>> Pass is getting complex. There are lots of edge cases now. I think I'd
>> like an automated testing suite, like what we have with cgit (copying Lukas
>> on this mail).
>> Would somebody step up and make a really nice automated test suite? I'd
>> be happy to give you commit access to that subfolder of the repo if you'd
>> be up for this. It shouldn't be a lot of work and would help the project
>> tons.
>> Thanks,
>> Jason
>> _______________________________________________
>> Password-Store mailing list
>> Password-Store at lists.zx2c4.com
>> http://lists.zx2c4.com/mailman/listinfo/password-store
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20140419/038605b4/attachment.html>

More information about the Password-Store mailing list