diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2025-05-25 19:05:44 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2025-05-25 19:05:44 +0900 |
commit | 7c888edbb9512e8cc75c302d487b5c2e4eace62c (patch) | |
tree | 07deb8a957be8aa26d2b45a489e43086ed071f78 /pyproject.toml | |
parent | 552c60f5fd0395acabfd8320a5372c54df23a5ea (diff) | |
download | scadere-7c888edbb9512e8cc75c302d487b5c2e4eace62c.tar.gz |
Add some basic tests
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 13 |
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 |