summaryrefslogtreecommitdiff
path: root/development.mdwn
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-11-10 22:56:11 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-11-10 22:56:11 -0200
commit16abc738ad06e2a39fc14a40f39f9a21ae9bec43 (patch)
treef70cac7bdc1481cc8ab6430249ac5baac7b6de48 /development.mdwn
parente5bde4205e18334754027b3c6cc2f12ce0ffbaa8 (diff)
downloadkeyringer-16abc738ad06e2a39fc14a40f39f9a21ae9bec43.tar.gz
keyringer-16abc738ad06e2a39fc14a40f39f9a21ae9bec43.tar.bz2
Development: test environment
Diffstat (limited to 'development.mdwn')
-rw-r--r--development.mdwn13
1 files changed, 13 insertions, 0 deletions
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
----------