Skip to content

Commit f2be469

Browse files
committed
TEMP add logs to start of each test
1 parent 534c79c commit f2be469

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

crates/cli/tests/tests.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,13 @@ fn benchmark(benchmark_name: &str) -> String {
6868

6969
#[test]
7070
fn help() {
71+
eprintln!("FITZGEN: running test: help");
7172
sightglass_cli().arg("help").assert().success();
7273
}
7374

7475
#[test]
7576
fn benchmark_stop_after_compilation() {
77+
eprintln!("FITZGEN: running test: benchmark_stop_after_compilation");
7678
sightglass_cli_benchmark()
7779
.arg("--raw")
7880
.arg("--processes")
@@ -93,6 +95,7 @@ fn benchmark_stop_after_compilation() {
9395

9496
#[test]
9597
fn benchmark_stop_after_instantiation() {
98+
eprintln!("FITZGEN: running test: benchmark_stop_after_instantiation");
9699
sightglass_cli_benchmark()
97100
.arg("--raw")
98101
.arg("--processes")
@@ -113,6 +116,7 @@ fn benchmark_stop_after_instantiation() {
113116

114117
#[test]
115118
fn benchmark_json() {
119+
eprintln!("FITZGEN: running test: benchmark_json");
116120
let assert = sightglass_cli_benchmark()
117121
.arg("--raw")
118122
.arg("--processes")
@@ -141,6 +145,7 @@ fn benchmark_json() {
141145

142146
#[test]
143147
fn benchmark_csv() {
148+
eprintln!("FITZGEN: running test: benchmark_csv");
144149
let assert = sightglass_cli_benchmark()
145150
.arg("--raw")
146151
.arg("--processes")
@@ -173,6 +178,7 @@ fn benchmark_csv() {
173178

174179
#[test]
175180
fn benchmark_summary() {
181+
eprintln!("FITZGEN: running test: benchmark_summary");
176182
sightglass_cli_benchmark()
177183
.arg("--processes")
178184
.arg("1")
@@ -196,6 +202,8 @@ fn benchmark_summary() {
196202

197203
#[test]
198204
fn benchmark_effect_size() -> anyhow::Result<()> {
205+
eprintln!("FITZGEN: running test: benchmark_effect_size");
206+
199207
// Create a temporary copy of the test engine.
200208
let test_engine = test_engine();
201209
let alt_engine = tempfile::NamedTempFile::new()?;

0 commit comments

Comments
 (0)