Debian Codegraph @

TESTING

raw
1 Testing procedure for PyCIFRW
2 =============================
3
4 In Python3 virtual environments (create with
5 virtualenv -p python<2,3> test-environment, activate with
6 source local/bin/activate (Python2) or source bin/activate (Python3)):
7
8 0. pip install ply; pip install numpy
9 1. pip install <dist as wheel>
10 2. tar -xf <src package>
11 3. cd PyCifRW-<version>
12 4. ln -s <build directory>/tests .
13 5. ln -s <build directory>/dictionaries .
14 4. python TestPyCIFRW
15
16 Additional tests run during development
17
18 1. in the tests directory, 'python runtests.py'
19 2. in the unicode-tests directory, 'python runtests.py'
20
21
22 Note that the tests and dictionaries directories are
23 not currently bundled. If you would like these, please let me know.