<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/tests/cli_tests/main.rs, branch arti-v2.5.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-17T22:02:58Z</updated>
<entry>
<title>arti: Remove now-obsolete keys test module</title>
<updated>2026-06-17T22:02:58Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-06-17T17:52:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3a40f26006134074c1fb88bc0f97d3d6b85c4782'/>
<id>urn:sha1:3a40f26006134074c1fb88bc0f97d3d6b85c4782</id>
<content type='text'>
We now have `trycmd` tests that cover most cases, so I am removing this
module. The reason this was introduced in the first place is in the
module level docs

```rust
//! The `assert_cmd` crate is used here instead of the preferred `trycmd` (see
//! [`README`](../README.md)) because the output of `keys list` is not deterministic across
//! different machines. The design choices of some components are workarounds for this limitation.
```

But this is no longer an issue now that the `keys list` output is
sorted.

Ideally, all tests would be written this way (we have a few more modules
in `cli_tests` that we should probably port to `trycmd` sometime).

Note: some of the tests I'm removing here don't have a `trycmd`
counterpart in `arti/tests/testcases/keys`. In my opinion, this is
perfectly fine, because the old tests were unnecessarily testing all the
possible configurations involving 1-2 keystores (one arti, and one C
Tor): it is not the responsibility of the CLI tests to cover all these
permutations (they should be tested in `tor-keymgr`).
</content>
</entry>
<entry>
<title>arti: test: Add integration test for `hss ctor-migrate`</title>
<updated>2025-09-10T13:58:32Z</updated>
<author>
<name>hjrgrn</name>
<email>3874-hjrgrn@gitlab.torproject.org</email>
</author>
<published>2025-08-26T14:11:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ed170bb6ee74efb99f03bf15ef07ace313f6573e'/>
<id>urn:sha1:ed170bb6ee74efb99f03bf15ef07ace313f6573e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: test: Add integration test suite for `arti keys`</title>
<updated>2025-08-25T06:48:06Z</updated>
<author>
<name>hjrgrn</name>
<email>3874-hjrgrn@gitlab.torproject.org</email>
</author>
<published>2025-08-18T17:35:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9a858ebc1220e6fa6ed70c9168ac1588b9e05d4d'/>
<id>urn:sha1:9a858ebc1220e6fa6ed70c9168ac1588b9e05d4d</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>arti: test: Refactor arti integration test</title>
<updated>2025-05-12T11:56:00Z</updated>
<author>
<name>hjrgrn</name>
<email>3874-hjrgrn@gitlab.torproject.org</email>
</author>
<published>2025-04-24T12:38:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=31db380cfe329452b27fe508afc5d1f190be91e9'/>
<id>urn:sha1:31db380cfe329452b27fe508afc5d1f190be91e9</id>
<content type='text'>
* arti: test: Restructure tests directory
* arti: dep: Add assert_cmd dev-dependency
* arti: test: Update README
* doc: Fix hsc documentation
</content>
</entry>
</feed>
