summaryrefslogtreecommitdiffstats
path: root/HACKING.rst
diff options
context:
space:
mode:
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst37
1 files changed, 37 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
new file mode 100644
index 0000000..e9f985d
--- /dev/null
+++ b/HACKING.rst
@@ -0,0 +1,37 @@
+-*- mode: rst; coding: utf-8; -*-
+
+HACKING
+=======
+
+Setting up the environment
+--------------------------
+
+First setup virtual environment::
+
+ cd markdown-link-style
+ virtualenv --python=python3.5 .
+
+Activate virtual environment::
+
+ source bin/activate
+
+Install dependencies::
+
+ pip install -r requirements.txt
+ python setup develop
+
+Running tests
+-------------
+
+Run all tests::
+
+ nosetests -sv
+
+
+Run a particular test class::
+
+ nosetests -sv tests.module_name:TestClassName
+
+Run a particular test in a test class::
+
+ nosetests -sv tests.module_name:TestClasseName.test_method_name