From 5fae7a5a60ae8a4457affe280f98d6b9f6de77e9 Mon Sep 17 00:00:00 2001 From: pedro bufulin Date: Fri, 8 Mar 2024 01:43:38 -0300 Subject: [PATCH] docs(readme): adds testing instruction --- Cargo.lock | 4 ++-- Readme.md | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8ce790f..1f3f01c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -120,9 +120,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.75" +version = "1.0.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" +checksum = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1" [[package]] name = "arc-swap" diff --git a/Readme.md b/Readme.md index 65a20ab..6fa3b6e 100644 --- a/Readme.md +++ b/Readme.md @@ -84,4 +84,7 @@ enabling Indexers to quickly sync all historical data and begin serving data wit - Results can be found in `target/criterion/report/index.html` For proper benchmarking of future improvements, fixes and features please compare baselines. -Refer to [the end of this section of Criterion documentation](https://bheisler.github.io/criterion.rs/book/user_guide/command_line_options.html) for more information on creating and comparing baselines. \ No newline at end of file +Refer to [the end of this section of Criterion documentation](https://bheisler.github.io/criterion.rs/book/user_guide/command_line_options.html) for more information on creating and comparing baselines. + +## Testing +Generate code coverage reports with `opecargo llvm-cov --html` and open them with `open ./target/llvm-cov/html/index.html`. \ No newline at end of file