penpot/common/tests.edn
alonso.torres 1380d49da8 👷 Run the generative component tests apart from CI
The random component program properties of `composable-gen-test`
(`random-compositions`, `random-structure-compositions` and the other
nine `random-*` tests) ran in every common test run, on the JVM with
100 programs each and in JS with 15. They are now tagged `:generative`
and left out of the default runs, so CI runs only the unit tests.

- `tests.edn` skips `:generative`; `tests-generative.edn` runs only it:
  `pnpm run test:generative`.
- The JS runner leaves them out of the full run; `--generative` runs
  only them: `pnpm run test:generative:js`. A `--focus` still runs a
  focused one.

AI-assisted-by: claude-opus-5-5
2026-11-19 12:57:42 +01:00

20 lines
775 B
Clojure

#kaocha/v1
{:tests [{:id :unit
:test-paths ["test"]
;; The random component programs run on their own: tests-generative.edn
:skip-meta [:generative]}]
:kaocha/reporter [kaocha.report/dots]
;; Only read when the cloverage plugin is on (`:coverage` alias).
:cloverage/opts {:src-ns-path ["src"]
:ns-regex ["^app\\..*"]
:ns-exclude-regex ["^app\\.common\\.test-helpers\\..*"]
:output "target/coverage"
:lcov? true
;; EMMA XML carries the form counts the PR report shows as statements.
:emma-xml? true
:html? true
:summary? true
:codecov? false
:fail-threshold 0}}