Skip to content

Test strategy

The test strategy is split by topic into the notes below.

  • Rules and CI runs - The rules of muffelblog this project follows, which pushes run the full suite, unit tests first, and the property tests of the migrations.
  • Kinds of tests in this project - The kinds of tests in a table: where each lives and what it proves.
  • E2E tests - Playwright E2E tests: the acceptance criteria of a pull request, seeding, mails, accessibility, one spec per feature and tests that own their data.
  • E2E inventory - The E2E tests of #68 and what they cover.
  • Tests of components - The contract tests per component, the rows of the resources page, and Svelte components and state modules in Vitest.
  • Reference tests of the Svelte views - The property and reference tests of the views converted in #118, list by list and bundle by bundle.
  • No catalog key outside src/features - The test that finds a comparison with a catalog key outside src/features and what it scans.
  • Tests of missions - Contract tests of the missions as strategies (#116).
  • Risks - What is unverified about the CI workflows and the cost of the mutation tests.