Skip to content

cntryl/tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cntryl-tools

Standalone Rust command-line tool with child commands for cntryl.

Tools

  • validate-tests: checks Rust tests for naming and AAA conventions.
  • generate-inventory: scans tests and benchmarks and writes an inventory report.
  • summarize-benchmarks: collects benchmark results, compares them to baseline, and writes a report.

Install

If you do not have the repo cloned, install directly from GitHub:

cargo install --git https://github.com/cntryl/tools --locked

If you are working from a local clone, install from that checkout instead:

cargo install --path /path/to/cntryl-tools

If you are already in the cntryl-tools repo, this shorter form does the same thing:

cargo install --path .

Usage

Run them from the repository you want to inspect after install:

cntryl-tools validate-tests
cntryl-tools generate-inventory
cntryl-tools summarize-benchmarks

validate-tests runs against the current directory by default, so run it from the repo you want to check.

If you do not want to install the tool yet, you can run it with Cargo from any repo:

cargo run --manifest-path <path-to-cntryl-tools-repo>/Cargo.toml -- validate-tests
cargo run --manifest-path <path-to-cntryl-tools-repo>/Cargo.toml -- generate-inventory
cargo run --manifest-path <path-to-cntryl-tools-repo>/Cargo.toml -- summarize-benchmarks

If you are already in the repo you want to inspect, just run the installed commands there:

cntryl-tools validate-tests
cntryl-tools generate-inventory
cntryl-tools summarize-benchmarks

summarize-benchmarks also accepts --product-name and --report-title if you want to override the default report branding.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages