about summary refs log tree commit diff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2025-05-25 19:05:44 +0900
committerNguyễn Gia Phong <cnx@loang.net>2025-05-25 19:05:44 +0900
commit7c888edbb9512e8cc75c302d487b5c2e4eace62c (patch)
tree07deb8a957be8aa26d2b45a489e43086ed071f78 /pyproject.toml
parent552c60f5fd0395acabfd8320a5372c54df23a5ea (diff)
downloadscadere-7c888edbb9512e8cc75c302d487b5c2e4eace62c.tar.gz
Add some basic tests
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 91b3428..4104f67 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -23,3 +23,16 @@ classifiers = [
 dynamic = [ 'version' ]
 urls = { Source = 'https://trong.loang.net/scadere' }
 scripts = { scadere = 'scadere.__main__:main' }
+
+[tool.pytest.ini_options]
+testpaths = [ 'tst' ]
+
+[tool.coverage.run]
+branch = true
+command_line = '-m pytest'
+source = [ '.' ]
+
+[tool.coverage.report]
+fail_under = 100
+show_missing = true
+skip_covered = true