docs(contributing): correct the test count, C++ standard and provider paths

The guides still promised nine tests, C++20 and providers under plugins/,
which no longer reflects the build.
This commit is contained in:
BlackAngelTV committed 2026-10-03 23:08:24 +02:00
1 parent ab405d3018
commit 05d9a16fe7
2 files changed
+14 -7

No files matched your search

+6 -3
View File
@@ -53,7 +53,7 @@ download. Once built:
cd build && ctest --output-on-failure
```
There are **9 tests**. Most are unit tests that never touch the system;
There are **12 tests**. Most are unit tests that never touch the system;
`flatpak-integration-test` is the only one that drives the real flatpak CLI (in
an isolated temporary installation), and `app-core-test` checks in particular
that every privileged path goes through the password gate — **without ever
@@ -69,13 +69,16 @@ replaying a request**, so it can never run pacman as root.
| `progress-tracker-test` | reading a tool's output, progress, ANSI |
| `package-utils-test` | the shared package utilities |
| `plugin-package-test` | the `.fwspacm` package format and its installation |
| `app-settings-test` | the preferences model and the journal |
| `language-manager-test` | the language: resolution, catalogues, coverage |
| `cli-command-test` | the command-line grammar |
| `update-manager-test` | version detection and self-update |
[doc/tests.md](doc/tests.md) details each target and explains how to add one.
## Code conventions
- **Language**: C++20, Qt6. Follow the existing stack and conventions before
- **Language**: C++17, Qt6. Follow the existing stack and conventions before
adding any dependency.
- **Formatting**: `.clang-format` (LLVM, 4 spaces, attached braces, 100
columns). Run `clang-format -i <file>` before committing.
@@ -104,7 +107,7 @@ The split is structural and not negotiable:
Adding a screen = a `Page` class (see `pages/base/page.h`) and an entry in the
sidebar. Adding a package manager = a plugin implementing `IPackageManager` in
`plugins/` — **without touching the application** (see
`providers/` — **without touching the application** (see
[doc/plugins.md](doc/plugins.md)).
## Workflow