File tree 3 files changed +43
-1
lines changed 3 files changed +43
-1
lines changed Original file line number Diff line number Diff line change
1
+ .. -*- mode: rst -*-
2
+ .. ex: set sts=4 ts=4 sw=4 et tw=79:
3
+ ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
4
+ #
5
+ # See COPYING file distributed along with the NiBabel package for the
6
+ # copyright and license terms.
7
+ #
8
+ ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
9
+
10
+ .. _advanced_testing :
11
+
12
+ ************
13
+ Advanced Testing
14
+ ************
15
+
16
+ Setup
17
+ -----
18
+
19
+ Before running advanced tests, please update all submodules of nibabel, by running ``git submodule update --init ``
20
+
21
+
22
+ Long-running tests
23
+ ------------------
24
+
25
+ Long-running tests are not enabled by default, and can be resource-intensive. To run these tests:
26
+
27
+ * Set environment variable ``NIPY_EXTRA_TESTS=slow ``
28
+ * Run ``nosetests ``.
29
+
30
+ Note that some tests may require a machine with >4GB of RAM.
31
+
32
+ .. include :: ../links_names.txt
Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ Developer documentation page
14
14
add_image_format
15
15
devdiscuss
16
16
make_release
17
+ advanced_testing
Original file line number Diff line number Diff line change @@ -114,7 +114,11 @@ Just install the modules by invoking::
114
114
If sudo is not configured (or even installed) you might have to use
115
115
``su `` instead.
116
116
117
- Now fire up Python and try importing the module to see if everything is fine.
117
+
118
+ Validating your install
119
+ -----------------------
120
+
121
+ For a basic test of your installation, fire up Python and try importing the module to see if everything is fine.
118
122
It should look something like this::
119
123
120
124
Python 2.7.8 (v2.7.8:ee879c0ffa11, Jun 29 2014, 21:07:35)
@@ -123,4 +127,9 @@ It should look something like this::
123
127
>>> import nibabel
124
128
>>>
125
129
130
+
131
+ To run the nibabel test suite, from the terminal run ``nosetests nibabel `` or ``python -c "import nibabel; nibabel.test() ``.
132
+
133
+ To run an extended test suite that validates ``nibabel `` for long-running and resource-intensive cases, please see :ref: `advanced_testing `.
134
+
126
135
.. include :: links_names.txt
You can’t perform that action at this time.
0 commit comments