chore: rename project quicnprotochat -> quicproquo (binaries: qpq)
Rename the entire workspace:
- Crate packages: quicnprotochat-{core,proto,server,client,gui,p2p,mobile} -> quicproquo-*
- Binary names: quicnprotochat -> qpq, quicnprotochat-server -> qpq-server,
quicnprotochat-gui -> qpq-gui
- Default files: *-state.bin -> qpq-state.bin, *-server.toml -> qpq-server.toml,
*.db -> qpq.db
- Environment variable prefix: QUICNPROTOCHAT_* -> QPQ_*
- App identifier: chat.quicnproto.gui -> chat.quicproquo.gui
- Proto package: quicnprotochat.bench -> quicproquo.bench
- All documentation, Docker, CI, and script references updated
HKDF domain-separation strings and P2P ALPN remain unchanged for
backward compatibility with existing encrypted state and wire protocol.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Testing Strategy
|
||||
|
||||
This page describes the testing structure, conventions, and current coverage for
|
||||
quicnprotochat. All tests run with `cargo test --workspace` and must pass before
|
||||
quicproquo. All tests run with `cargo test --workspace` and must pass before
|
||||
any code is merged.
|
||||
|
||||
For the coding standards that tests must follow, see
|
||||
@@ -17,7 +17,7 @@ Unit tests live alongside the code they test, in `#[cfg(test)] mod tests` blocks
|
||||
at the bottom of each source file. They test individual functions and types in
|
||||
isolation.
|
||||
|
||||
**quicnprotochat-core:**
|
||||
**quicproquo-core:**
|
||||
|
||||
| Module | Tests | What they cover |
|
||||
|--------|-------|----------------|
|
||||
@@ -26,7 +26,7 @@ isolation.
|
||||
| `group` | 2 tests | Group round-trip (create + add + join + send + recv), group\_id lifecycle |
|
||||
| `hybrid_kem` | 11 tests | Encapsulate/decapsulate round-trip, key generation, combiner correctness, wrong-key rejection, serialisation |
|
||||
|
||||
**quicnprotochat-proto:**
|
||||
**quicproquo-proto:**
|
||||
|
||||
| Module | Tests | What they cover |
|
||||
|--------|-------|----------------|
|
||||
@@ -34,7 +34,7 @@ isolation.
|
||||
|
||||
### Integration Tests
|
||||
|
||||
Integration tests live in `crates/quicnprotochat-client/tests/` and test the
|
||||
Integration tests live in `crates/quicproquo-client/tests/` and test the
|
||||
full client-server interaction. Each test spawns a server using `tokio::spawn`
|
||||
within the same test binary, then runs client operations against it.
|
||||
|
||||
@@ -88,17 +88,17 @@ This runs all unit tests and integration tests across all four crates.
|
||||
### Single Crate
|
||||
|
||||
```bash
|
||||
cargo test -p quicnprotochat-core
|
||||
cargo test -p quicnprotochat-proto
|
||||
cargo test -p quicnprotochat-server
|
||||
cargo test -p quicnprotochat-client
|
||||
cargo test -p quicproquo-core
|
||||
cargo test -p quicproquo-proto
|
||||
cargo test -p quicproquo-server
|
||||
cargo test -p quicproquo-client
|
||||
```
|
||||
|
||||
### Single Test
|
||||
|
||||
```bash
|
||||
cargo test -p quicnprotochat-core -- codec::tests::test_round_trip
|
||||
cargo test -p quicnprotochat-client --test mls_group
|
||||
cargo test -p quicproquo-core -- codec::tests::test_round_trip
|
||||
cargo test -p quicproquo-client --test mls_group
|
||||
```
|
||||
|
||||
### With Output
|
||||
@@ -117,10 +117,10 @@ Summary:
|
||||
|
||||
| Crate | Unit Tests | Integration Tests | Total |
|
||||
|-------|-----------|-------------------|-------|
|
||||
| `quicnprotochat-core` | 23 | -- | 23 |
|
||||
| `quicnprotochat-proto` | 3 | -- | 3 |
|
||||
| `quicnprotochat-server` | 0 | -- | 0 |
|
||||
| `quicnprotochat-client` | 0 | 5 | 5 |
|
||||
| `quicproquo-core` | 23 | -- | 23 |
|
||||
| `quicproquo-proto` | 3 | -- | 3 |
|
||||
| `quicproquo-server` | 0 | -- | 0 |
|
||||
| `quicproquo-client` | 0 | 5 | 5 |
|
||||
| **Total** | **26** | **5** | **31** |
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user