]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Development: test environment
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 11 Nov 2013 00:56:11 +0000 (22:56 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 11 Nov 2013 00:56:11 +0000 (22:56 -0200)
development.mdwn

index a6db8da14895d20612ce73afcbfa13f5339e7957..edd41ed7a4c7f3d920b7925575c27cd6292f43be 100644 (file)
@@ -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
 ----------