Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Say in AGENTS.md that a test folder never ends in a package's extension

Țugui Dragoșe2d7fc248907
diff --git a/AGENTS.md b/AGENTS.md
index 37c144d8..c9bcac8c 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -137,7 +137,9 @@ If you are unsure whether something belongs in the helper, it doesn't.
from a test. An app a test expects Peel to act on is a made-up one, named under a domain kept for examples
(`org.example`, `com.example`, `net.example`). A program a test starts from a folder of its own is a copy of
`/bin/sleep` signed ad hoc (`TemporaryDirectory.runningProgram`): macOS kills a plain copy of one of its own
- programs started from anywhere else, usually within a second, for breaking its launch constraints.
+ programs started from anywhere else, usually within a second, for breaking its launch constraints. A folder a
+ test makes never ends in a package's extension: `org.example.App` is an app to macOS and to Peel, so nothing
+ inside it is looked at as a folder's contents.
- Some changes need a particular test:
- matching: `LeftoverMatcherTests`, with the case the rule catches and a case it must not catch;
- anything that decides what may be removed: a test that fails without the fix, written to get past the rule