Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions tooling/ef_tests/state_v2/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Legacy report files (now generated in reports/ directory)
./success_report.txt
./failure_report.txt

# Generated test reports directory
./reports/

# vectors is not yet part of this folder but will be soon.
./vectors
2 changes: 2 additions & 0 deletions tooling/ef_tests/state_v2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ clap_complete.workspace = true
tokio = { workspace = true, features = ["full"] }
colored = "2.1.0"
alloy-rlp = "0.3.12"
chrono = "0.4"
prettytable-rs = "0.10"

[dev-dependencies]
hex = "0.4.3"
Expand Down
5 changes: 4 additions & 1 deletion tooling/ef_tests/state_v2/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
.PHONY: help run-tests
.PHONY: help run-tests clean-reports

help: ## 📚 Show help for each of the Makefile recipes
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

run-tests: ## 🧪 Run all tests with optional flags. Usage: make run-tests flags="--flag1 --flag2"
cargo test --package ef_tests-statev2 --test all --release -- $(flags)

clean-reports: ## 🗑️ Delete all generated test reports
rm -rf ./reports

3 changes: 1 addition & 2 deletions tooling/ef_tests/state_v2/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ pub async fn main() -> Result<(), RunnerError> {
}
println!(
"\nTests finished running.
Find successful tests (if any) report at: './success_report.txt'.
Find failing tests (if any) report at: './failure_report.txt'.
Find reports in the './reports' directory.
"
);
Ok(())
Expand Down
Loading
Loading