Repository navigation
Backlog
Labels
testTest suites: coverage, structure, reliability
Milestone
Description
Context — The review of #1883 compared the 44 former scenarios with the thirteen journeys and the unit and kittest tests. Two things only the assembled application does are checked nowhere any more:
- that nothing a person writes can be read from the profile on the disk — the database, its copies, what a restore, a recovery or a forgotten phrase sets aside, the logs, the preferences — and the passphrase nowhere. The core's tests seal value by value; the former
37_recette_socleread the whole profile. - that the plain copy an opened attachment leaves under the profile is gone at the exit, and before the gate after a crash (
ui::app, on launch and on exit). The former11_attachmentsheld it.
Change — A journey 14 writes something of every sealed kind, quits and reads the whole profile for it; it opens an attachment, quits, then crashes with one open, and finds the plain copy gone each time. Journey 12 ends by reading what it set aside. Each journey runs alone, on its own profile.
To do
platform::desktop::from_scenario: in thee2eflavour the desktop's « open with » starts no program and answers that it did;apppicks it as it picks the updater's.- SDK, a
disk()area:expect_nowhere(words)reads every file and every name under the profile, fails on a file it cannot read and on a profile without a database;expect_somewhere(word)waits for a word, skipping what SQLite holds while DevNotes runs.attachments().open(n);App::crash_and_launch_again(), which stops at the gate. e2e/tests/14_nothing_readable_on_the_disk.rs: a marker in a snippet's title, code, context and field value, a Note, a task, a calculation, a drawing's text, a space, a folder, an attachment's name and bytes, a global variable, an HTTP request's name, address, header and body, an environment's secret, sent to the journey's server; a tag, plain by design, found as the witness that the scan reads the database.- Journey 12 ends with a step: what it set aside holds nothing of what was written after the copy.
CONTRIBUTING.md, thedesktop-e2e-testingskill,docs/architecture.mdandCLAUDE.mdsay fourteen journeys.- A word found in the clear is a defect: its own
bugticket and fix, the journey never weakened.
Tests
- Journeys 14 and 12 green on Windows, Linux and macOS, each also run alone.
- A plain file put in a profile by hand makes
expect_nowherefail and name it (checked locally, not committed).
Metadata
Metadata
Assignees
Labels
testTest suites: coverage, structure, reliability
Activity