From f9336158330f2987db2c132ea22cbda5a94a7c68 Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 13 May 2018 17:34:42 +0300 Subject: DOC: link to TESTS.rst.txt testing guidelines document, tweak testing docs --- doc/source/reference/routines.testing.rst | 14 ++++++++++++-- doc/source/reference/testing.rst | 7 +++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 doc/source/reference/testing.rst (limited to 'doc/source/reference') diff --git a/doc/source/reference/routines.testing.rst b/doc/source/reference/routines.testing.rst index ad95bb399..5a52a40d6 100644 --- a/doc/source/reference/routines.testing.rst +++ b/doc/source/reference/routines.testing.rst @@ -1,3 +1,5 @@ +.. _numpy-testing: + Test Support (:mod:`numpy.testing`) =================================== @@ -6,8 +8,9 @@ Test Support (:mod:`numpy.testing`) Common test support for all numpy test scripts. This single module should provide all the common functionality for numpy -tests in a single location, so that test scripts can just import it and -work right away. +tests in a single location, so that :ref:`test scripts +` can just import it and work right away. For +background, see the :ref:`testing-guidelines` Asserts @@ -50,3 +53,10 @@ Test Running run_module_suite rundocs suppress_warnings + +Guidelines +---------- + +.. toctree:: + + testing diff --git a/doc/source/reference/testing.rst b/doc/source/reference/testing.rst new file mode 100644 index 000000000..72780dd44 --- /dev/null +++ b/doc/source/reference/testing.rst @@ -0,0 +1,7 @@ +.. _testing-guidelines: + +Testing Guidelines +================== + +.. include:: ../../TESTS.rst.txt + :start-line: 6 -- cgit v1.2.1