Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Improve testability and overall usability (#37)
* test: add rayon for parallelization Signed-off-by: simonsan <[email protected]> * refactor: explicitly drop mutex Signed-off-by: simonsan <[email protected]> * refactor(id): use ulid instead of uuid v7 due to easier readability and shorter overall length while still keeping sortability. Signed-off-by: simonsan <[email protected]> * WIP Signed-off-by: simonsan <[email protected]> * WIP Signed-off-by: simonsan <[email protected]> * WIP Signed-off-by: simonsan <[email protected]> * test: move caluclate_duration to free standing function and implement test cases Signed-off-by: simonsan <[email protected]> * test: implement more tests for time conversion and duration calculation Signed-off-by: simonsan <[email protected]> * test: implement more tests for time conversion and duration calculation Signed-off-by: simonsan <[email protected]> * test: implement tests for overwriting values with overwrite_left_with_right Signed-off-by: simonsan <[email protected]> * chore: feature gate rusqlite for better compile times rusqlite is used for SQLite support in the future, currently we focus on implementing the Toml storage with SQLite as another supported backend in the future. Hence we feature gate it for now and not using it as a default feature. Signed-off-by: simonsan <[email protected]> * feat(config): some config changes for better clarity and usability Signed-off-by: simonsan <[email protected]> * refactor: utilize ActivityEndOptions for better testability and overall usability Signed-off-by: simonsan <[email protected]> * fix(test): duration was too close for tests Signed-off-by: simonsan <[email protected]> * start implementing hold and continue for intermissions Signed-off-by: simonsan <[email protected]> * chore(deps): update bumpalo Signed-off-by: simonsan <[email protected]> --------- Signed-off-by: simonsan <[email protected]>
- Loading branch information