Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ This repository contains scripts for automating analysis of QCTools reports.
* Install Package
`python -m pip install .`

### Test Code

* Activate virtual env (see Install from source)
* Install pytest
`pip install pytest`
* Run tests
`python -m pytest`


### Scripts:

- **`qct-parse`**
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ qct-parse = "qct_parse.qct_parse:main"

[tool.tox]
envlist = ["3.9", "3.10", "3.11", "3.12", "3.13"]

[tool.tox.env_run_base]
description = "Run test under {base_python}"
commands = [["pytest"]]
deps = ["pytest"]
4 changes: 4 additions & 0 deletions tests/test_qct_parse.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from qct_parse import qct_parse

def test_dts2ts():
assert qct_parse.dts2ts("0.0330000") == '00:00:00.0330'
Loading