Commit Graph

11 Commits

Author SHA1 Message Date
0b2bc6c688 test(core): add coverage for config and logging modules
Adds tests for VeritextSettings defaults, env var overrides, and the
get_logger/configure_logging functions.
2026-02-04 00:22:57 +00:00
aa687f43cd fix(validators): validate regex patterns at init time
ContainsValidator and ExcludesValidator now pre-compile regex patterns
during initialisation and raise InvalidThresholdError if invalid.
2026-02-04 00:22:47 +00:00
c54f8c3f6f test(cli): add CLI tests
Add comprehensive test suite for validate command, benchmark commands,
input readers, and output formatters using Typer CliRunner.
2026-02-03 18:22:31 +00:00
6d1bece815 test(benchmark): add benchmark module tests
Comprehensive tests for models, storage, regression detection, and runner.
2026-02-03 18:10:13 +00:00
012b306749 test(pytest-plugin): add plugin tests
Cover validate_text assertions, fixture factories, marker registration,
and pytest integration using pytester for subprocess testing.
2026-02-03 17:40:46 +00:00
571b770281 test(semantic): add semantic similarity tests 2026-02-03 17:31:07 +00:00
e2be3daffd test(validators): add validator tests
Add comprehensive tests for metric validators, constraint validators,
and composite validators covering pass/fail cases and error handling.
2026-02-03 17:14:32 +00:00
62fac688e4 test(metrics): add ROUGE and readability tests 2026-02-03 17:03:34 +00:00
027d2d3beb test(metrics): add BLEU and lexical tests
Add comprehensive tests for BLEU and lexical metrics including edge
cases, batch scoring, and aggregate statistics.
2026-02-03 16:45:57 +00:00
14dcddcbba chore: add gitignore and remove cached files
Add comprehensive gitignore for Python projects. Remove accidentally
committed __pycache__ directories.
2026-02-03 16:16:33 +00:00
1e3618e637 test(core): add tokenisation and types tests
Cover WordTokeniser (Unicode, empty input, punctuation, multiple scripts)
and validation types (immutability, edge cases, failure summary).
2026-02-03 16:16:20 +00:00