Skip to content

Commit

Permalink
docs(testing): add test_biomart submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
rbpatt2019 committed Jun 15, 2021
1 parent 6fa6cd2 commit eee397a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/custom_temp_file.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. _custom_temp_file:

Custom TempFile "Fixture
========================

.. automodule:: tests.custom_tmp_file
:members:
6 changes: 6 additions & 0 deletions docs/multithreading_tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ Tests for the multithreading Module
===================================

.. automodule:: tests.multithreading

Tests for the multithreading.biomart Submodule
----------------------------------------------

.. automodule:: tests.multithreading.test_biomart
:members:
11 changes: 10 additions & 1 deletion docs/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ Testing
=======

Each module within the source code has its own module for unit testing.
Please see :ref:`logging_tests` and :ref:`multithreading_tests` for more information.
Please see :ref:`logging_tests`,
:ref:`data_handling_tests`,
and :ref:`multithreading_tests` for more information.
Additionally,
there is a class-based "fixture" -
well it's not really a fixture,
pytest doesn't allow class based fixtures -
for creating custom temporary file.
Please see :ref:`custom_temp_file`.
There are long term plans to develop integration tests for the whole pipeline.

.. toctree::
Expand All @@ -14,3 +22,4 @@ There are long term plans to develop integration tests for the whole pipeline.
logging_tests
data_handling_tests
multithreading_tests
custom_temp_file
1 change: 1 addition & 0 deletions environments/doc_build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ docutils==0.16
pandas==1.2.4
bioservices==1.7.11
lxml==4.6.3
pytest==6.2.4
sphinx-rtd-theme==0.5.2

0 comments on commit eee397a

Please sign in to comment.