From: Silvio Rhatto Date: Mon, 11 Nov 2013 00:56:11 +0000 (-0200) Subject: Development: test environment X-Git-Tag: 0.2.7~18 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=16abc738ad06e2a39fc14a40f39f9a21ae9bec43;p=keyringer.git Development: test environment --- diff --git a/development.mdwn b/development.mdwn index a6db8da..edd41ed 100644 --- a/development.mdwn +++ b/development.mdwn @@ -100,6 +100,19 @@ When adding a new subcommand or changing subcommand behavior, ensure: * Manpage is updated. * Shell completions are updated. +Test environment +---------------- + +Setup: + + keyringer test init ~/code/tests/keyringer + +Teardown: + + rm -rf ~/code/tests/keyringer + rm ~/.keyringer/test + sed -i -e '/^test=/d' ~/.keyringer/config + References ----------