From aeda309a7c46cedbc625b39e20a642dc77d85caa Mon Sep 17 00:00:00 2001
From: LEGRAND Jonathan <jonathan.legrand@inria.fr>
Date: Tue, 1 Aug 2023 15:03:41 +0000
Subject: [PATCH] Add config for nose2

---
 unittests.cfg | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 unittests.cfg

diff --git a/unittests.cfg b/unittests.cfg
new file mode 100644
index 0000000..e485f22
--- /dev/null
+++ b/unittests.cfg
@@ -0,0 +1,16 @@
+[unittest]
+## https://docs.nose2.io/en/latest/configuration.html
+start-dir = tests
+test-file-pattern = test_*.py
+
+[coverage]
+## https://docs.nose2.io/en/latest/plugins/coverage.html
+## http://coverage.readthedocs.io/en/latest/config.html
+always-on = True
+
+[coverage.run]
+source = ["treex"]
+omit = ["*__init__.py", "tests/*"]
+
+[coverage.report]
+omit = ["*__init__.py", "tests/*"]
-- 
GitLab