Skip to content

Commit

Permalink
Revert "Add ui tests for CLI (#95)" (#106)
Browse files Browse the repository at this point in the history
This reverts commit 669304a.
  • Loading branch information
korniltsev authored May 19, 2023
1 parent 617abbf commit e8b50b2
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 480 deletions.
242 changes: 21 additions & 221 deletions pyroscope_cli/Cargo.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pyroscope_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ features = ["cargo", "derive"]
[dev-dependencies]
assert_cmd = "2.0.4"
predicates = "2.1.1"
trycmd = "0.14"

[features]
default = ["pyroscope/default", "pyroscope_pprofrs/default", "pyroscope_rbspy/default", "pyroscope_pyspy/default"]
Expand Down
6 changes: 0 additions & 6 deletions pyroscope_cli/src/cli/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,3 @@ pub fn cli_match() -> Result<()> {

Ok(())
}

#[test]
fn verify_cli() {
use clap::CommandFactory;
Cli::command().debug_assert()
}

This file was deleted.

This file was deleted.

69 changes: 0 additions & 69 deletions pyroscope_cli/tests/cli-ui/pyroscope_cli_connect_cmd_stdout.toml

This file was deleted.

74 changes: 0 additions & 74 deletions pyroscope_cli/tests/cli-ui/pyroscope_cli_exec_cmd_stdout.toml

This file was deleted.

33 changes: 0 additions & 33 deletions pyroscope_cli/tests/cli-ui/pyroscope_cli_help_cmd_stdout.toml

This file was deleted.

33 changes: 0 additions & 33 deletions pyroscope_cli/tests/cli-ui/pyroscope_cli_help_flag_stdout.toml

This file was deleted.

7 changes: 0 additions & 7 deletions pyroscope_cli/tests/cli_ui.rs

This file was deleted.

0 comments on commit e8b50b2

Please sign in to comment.