Skip to main content

bactopia-review-tests

Review nf-test results with grouped error analysis and timing checks.

Analyzes test run logs, classifies failures by error pattern, and optionally checks durations against expected baselines.

Usage

bactopia-review-tests [OPTIONS]

Required Options

OptionTypeDefaultDescription
--bactopia-pathSTRING-Directory where Bactopia repository is stored

Run Selection

OptionTypeDefaultDescription
--runSTRING-Specific test run timestamp (YYYYMMDD_HHMMSS). Default: latest
--logs-dirSTRING-Directory containing test run logs. Default: {bactopia-path}/logs/run-tests

Timing Options

OptionTypeDefaultDescription
--baselinesSTRING-Path to test-times baseline JSON file. Default: {bactopia-path}/conf/test-times.json
--toleranceFLOAT2.0Tolerance factor for timing anomaly detection
--update-baselinesBOOLfalseWrite/update the baselines file from current run results

Output Options

OptionTypeDefaultDescription
--jsonBOOLfalseOutput as JSON
--prettyBOOLfalsePretty-print JSON output (implies --json)

Additional Options

OptionTypeDefaultDescription
--verboseBOOLfalsePrint debug related text
--silentBOOLfalseOnly critical errors will be printed
--version, -VBOOLfalseShow the version and exit.