From 7c888edbb9512e8cc75c302d487b5c2e4eace62c Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 25 May 2025 19:05:44 +0900 Subject: Add some basic tests --- pyproject.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'pyproject.toml') 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 -- cgit 1.4.1