From 3e2f0ca26c0b0a346355a8f756731fac2dd3e2ba Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 29 Jan 2026 19:59:31 +0000 Subject: [PATCH] Initial commit: git-issue-commit CLI tool --- tests/integration_tests.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/integration_tests.rs diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs new file mode 100644 index 0000000..5955915 --- /dev/null +++ b/tests/integration_tests.rs @@ -0,0 +1,18 @@ +#[cfg(test)] +mod integration_tests { + use assert_cmd::Command; + + #[test] + fn test_cli_help() { + let mut cmd = Command::cargo_bin("git-issue-commit").unwrap(); + cmd.arg("--help"); + cmd.assert().success(); + } + + #[test] + fn test_cli_version() { + let mut cmd = Command::cargo_bin("git-issue-commit").unwrap(); + cmd.arg("--version"); + cmd.assert().success(); + } +}