summaryrefslogtreecommitdiffstats
path: root/HACKING.rst
blob: e9f985d08a4c9867661bf166c5ddc3f73cb5ae33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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