about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--setup.cfg5
-rw-r--r--setup.py7
2 files changed, 11 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..b7593ce
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,5 @@
+[aliases]
+check = pytest
+unit_check = check --addopts=tests/unit
+integration_check = check --addopts=tests/integration
+performance_check = check --addopts=tests/performance
diff --git a/setup.py b/setup.py
index 55b4be2..a4e95d1 100644
--- a/setup.py
+++ b/setup.py
@@ -34,4 +34,9 @@ setup(author='Bonface M. K.',
           'tests'
       ],
       url='https://github.com/genenetwork/genenetwork3',
-      version='0.1')
+      version='0.1',
+      # ---- TESTING ---- #
+      setup_requires=['pytest-runner'],
+      tests_require=["pytest", "hypothesis"]
+      # ---- END: TESTING ---- #
+      )