Skip to content

Commit e8b50b2

Browse files
authored
Revert "Add ui tests for CLI (#95)" (#106)
This reverts commit 669304a.
1 parent 617abbf commit e8b50b2

10 files changed

+21
-480
lines changed

pyroscope_cli/Cargo.lock

Lines changed: 21 additions & 221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyroscope_cli/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ features = ["cargo", "derive"]
4747
[dev-dependencies]
4848
assert_cmd = "2.0.4"
4949
predicates = "2.1.1"
50-
trycmd = "0.14"
5150

5251
[features]
5352
default = ["pyroscope/default", "pyroscope_pprofrs/default", "pyroscope_rbspy/default", "pyroscope_pyspy/default"]

pyroscope_cli/src/cli/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,3 @@ pub fn cli_match() -> Result<()> {
395395

396396
Ok(())
397397
}
398-
399-
#[test]
400-
fn verify_cli() {
401-
use clap::CommandFactory;
402-
Cli::command().debug_assert()
403-
}

pyroscope_cli/tests/cli-ui/pyroscope_cli_completion_cmd_bash_cmd_stdout.toml

Lines changed: 0 additions & 14 deletions
This file was deleted.

pyroscope_cli/tests/cli-ui/pyroscope_cli_completion_cmd_stdout.toml

Lines changed: 0 additions & 22 deletions
This file was deleted.

pyroscope_cli/tests/cli-ui/pyroscope_cli_connect_cmd_stdout.toml

Lines changed: 0 additions & 69 deletions
This file was deleted.

pyroscope_cli/tests/cli-ui/pyroscope_cli_exec_cmd_stdout.toml

Lines changed: 0 additions & 74 deletions
This file was deleted.

pyroscope_cli/tests/cli-ui/pyroscope_cli_help_cmd_stdout.toml

Lines changed: 0 additions & 33 deletions
This file was deleted.

pyroscope_cli/tests/cli-ui/pyroscope_cli_help_flag_stdout.toml

Lines changed: 0 additions & 33 deletions
This file was deleted.

pyroscope_cli/tests/cli_ui.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)