From 01f5a2db0427e4f928ff4d06dff59f3bc138c548 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Thu, 16 Apr 2015 23:30:41 +0200 Subject: [PATCH] Add structure for testing docs --- docs/developers/index.rst | 1 + docs/developers/testing/index.rst | 10 ++++++++++ docs/developers/testing/integration_tests.rst | 1 + docs/developers/testing/unit_tests.rst | 1 + tests/README.rst | 2 ++ tests/integration/README.rst | 2 ++ tests/unit/README.rst | 2 ++ 7 files changed, 19 insertions(+) create mode 100644 docs/developers/testing/index.rst create mode 100644 docs/developers/testing/integration_tests.rst create mode 100644 docs/developers/testing/unit_tests.rst create mode 100644 tests/README.rst create mode 100644 tests/integration/README.rst create mode 100644 tests/unit/README.rst diff --git a/docs/developers/index.rst b/docs/developers/index.rst index 54f2f0d..27e7d8a 100644 --- a/docs/developers/index.rst +++ b/docs/developers/index.rst @@ -8,6 +8,7 @@ Developers contributing switches api/index + testing/index taskoverview .. include:: ../../bootstrapvz/README.rst diff --git a/docs/developers/testing/index.rst b/docs/developers/testing/index.rst new file mode 100644 index 0000000..d65dfb0 --- /dev/null +++ b/docs/developers/testing/index.rst @@ -0,0 +1,10 @@ +Testing +======= + +.. toctree:: + :maxdepth: 1 + + unit_tests + integration_tests + +.. include:: ../../../tests/README.rst diff --git a/docs/developers/testing/integration_tests.rst b/docs/developers/testing/integration_tests.rst new file mode 100644 index 0000000..aea3bd7 --- /dev/null +++ b/docs/developers/testing/integration_tests.rst @@ -0,0 +1 @@ +.. include:: ../../../tests/integration/README.rst diff --git a/docs/developers/testing/unit_tests.rst b/docs/developers/testing/unit_tests.rst new file mode 100644 index 0000000..afb6a91 --- /dev/null +++ b/docs/developers/testing/unit_tests.rst @@ -0,0 +1 @@ +.. include:: ../../../tests/unit/README.rst diff --git a/tests/README.rst b/tests/README.rst new file mode 100644 index 0000000..07a3b69 --- /dev/null +++ b/tests/README.rst @@ -0,0 +1,2 @@ +The testing framework consists of two parts: +The unit tests and the integration tests diff --git a/tests/integration/README.rst b/tests/integration/README.rst new file mode 100644 index 0000000..a93edec --- /dev/null +++ b/tests/integration/README.rst @@ -0,0 +1,2 @@ +Integration tests +================= diff --git a/tests/unit/README.rst b/tests/unit/README.rst new file mode 100644 index 0000000..a251ed9 --- /dev/null +++ b/tests/unit/README.rst @@ -0,0 +1,2 @@ +Unit tests +==========