summaryrefslogtreecommitdiff
path: root/crates/arti/tests/cli_tests
Commit message (Collapse)AuthorAgeFilesLines
* arti: tests: Add regression test for `arti -h`hjrgrn2026-04-081-0/+2
| | | | | - Add regression test - Update README
* arti: test: rename unrecognized-entry to hs_unrecognized_entry to fix the CIhjrgrn2026-03-302-3/+3
| | | | This changes save us from adding a new entry in .editorconfig
* arti: test: correct typo in hss.rshjrgrn2026-03-301-2/+2
|
* arti: test: Add description of the test file structure of the keys test suitehjrgrn2026-03-301-0/+43
|
* arti: tests: Rename some keys test files using more intuitive nameshjrgrn2026-03-301-5/+5
|
* Fix typosTobias Stoeckmann2026-03-242-2/+2
| | | | Typos found with codespell
* Fix word duplicate typosTobias Stoeckmann2026-03-151-1/+1
|
* arti: test: hsc: add test get_fails_if_no_gen_and_no_keyhjrgrn2026-02-173-92/+151
| | | | | | - remove build_hsc_key_cmd in favor of KeyCmd - use KeyCmdBuilder in CTorMigrateCmd::keystore_contains_client_key to remove duplication - adapt hsc.rs to the changes
* arti: test: rescope entities form util.rs fileshjrgrn2026-02-033-31/+33
|
* cli_tests: Rename tests for clarity and consistencyGabriela Moldovan2026-02-021-3/+3
|
* cli_tests: Insert spacing between top-level itemsGabriela Moldovan2026-02-021-0/+8
| | | | For readability.
* cli_tests: Fix typo in test nameGabriela Moldovan2026-02-021-2/+2
|
* cli_tests: Clarify a comment in ctor-migrate testGabriela Moldovan2026-02-021-1/+1
|
* cli_tests: Rename test closure for clarityGabriela Moldovan2026-02-021-3/+3
| | | | | The previous name was misleading (the closure asserts the exact opposite).
* Add integration test suite for `hsc ctor-migrate` subcommandhjrgrn2026-02-025-91/+450
|
* keymgr: Update expected output in integration testsGabriela Moldovan2026-01-061-6/+6
| | | | | C Tor keystore entries now use the same output format as the non-C Tor entries.
* Add `hsc key ctor-migrate` subcommandhjrgrn2025-11-242-3/+10
|
* arti: fix deprecation warnings in assert_cmd libSteven Engler2025-10-313-7/+8
| | | | | | | | | | | | ```text warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` --> crates/arti/tests/cli_tests/hsc.rs:26:28 | 26 | let mut cmd = Command::cargo_bin("arti").unwrap(); | ^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default ```
* arti: test: Add integration test for `hss ctor-migrate`hjrgrn2025-09-106-30/+533
|
* arti: test: Fix `keys` integration testhjrgrn2025-08-281-2/+2
| | | | The `keys` integration test now accounts for case-insensitive filesystems
* Merge branch 'toml' into 'main'David Goulet2025-08-261-18/+7
|\ | | | | | | | | arti: Simplify the `create_state_dir_entry` test helper See merge request tpo/core/arti!3178
| * arti: simplify the `create_state_dir_entry` test helperSteven Engler2025-08-251-18/+7
| |
* | tor-hscrypto: change redacted `HsId` from "???" to "[…]"Steven Engler2025-08-251-1/+1
|/ | | | | | | | | | | | | | Before: ```text INFO tor_hsservice: Generated a new identity for service bar: ???mad.onion ``` After: ```text INFO tor_hsservice: Generated a new identity for service foo: […]2qd.onion ```
* arti: test: Add note in `KeysListCmd::create_state_dir_entry`hjrgrn2025-08-251-0/+2
|
* arti: test: Add integration test suite for `arti keys`hjrgrn2025-08-253-0/+373
| | | | | | | | | - Add `cli_tests/keys/util.rs` and `cli_tests/keys.rs` - Update `cli_tests/main.rs` and `testcases/keys/conf/keys.toml` - Add `ctor-keystore` directory to `keys` `local` directory - Restructure `keys` `local` directory layout - .editorconfig: Add exception for `ctor-keystore`s
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-6/+10
| | | | | | | | | | | | | | First, run ``` git grep -l "^edition =" | xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;' ``` Second, manually verify that all Cargo.toml files have changed, and nothing else has changed. Third, run cargo fmt again.
* arti: hss: Add `arti hss ctor-migrate`hjrgrn2025-07-311-1/+7
|
* arti: keys: Add arti keys-rawhjrgrn2025-07-141-0/+11
| | | | | | | | | | | | | | | | | | | * CLI: Add `keys-raw` and subcommand `remove-by-path` * arti: Add `arti::subcommand::raw` for the CLI `keys-raw` * tor-keymgr: Add `ArtiNativeKeystoreError::UnexpectedRawEntry`, `ArtiEphemeralKeystoreError::NotSupported` * tor-keymgr: Add `tor-keymgr::raw` module * tor-keymgr: Add `Keystore::remove_unchecked` * tor-keymgr: Change `Keystore::list` to return `KeystoreEntry` * tor-keymgr: Add field `KeystoreEntry::raw_id` * doc: Update keys.md * doc: Add raw.md * tor-keymgr: BREAKING: `UnrecognizedEntryError::new` associated function is now only accessible within the crate `tor-keymgr` * tor-keymgr: BREAKING: `UnrecognizedEntryId` is renamed to `UnrecognizedEntry` * tor-keymgr: BREAKING: `KeyMgr::list()` and `Keystore::list()` now return `Result<Vec<KeystoreEntryResult<KeystoreEntry>>>`
* arti: Add keys list and keys list-keystoreshjrgrn2025-06-121-1/+12
|
* arti: test: Refactor arti integration testhjrgrn2025-05-123-0/+190
* arti: test: Restructure tests directory * arti: dep: Add assert_cmd dev-dependency * arti: test: Update README * doc: Fix hsc documentation