From 61a7b8a40c5de827dfd40f3a8a2ded5b72dc9761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20M=C3=B6rling?= Date: Thu, 21 May 2026 16:44:15 +0200 Subject: [PATCH] Wire backend tests and coverage into ./gradlew check. Root check only ran frontend lint, unit tests, and E2E, so backend JUnit and JaCoCo gates were skipped despite AGENTS.md documenting otherwise. - Make check depend on :backend:check and frontendE2E as siblings - Update AGENTS.md comment to match the real task order --- AGENTS.md | 2 +- build.gradle | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 56a3c6b..e15737b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -37,7 +37,7 @@ docker compose up -d # starts postgres, backend, frontend ### All-in-one ```bash -./gradlew check # frontend lint → frontend test → backend test → coverage verification +./gradlew check # frontend lint → frontend test → backend test+coverage → E2E (Docker) ./gradlew coverage # backend + frontend tests with coverage reports ./gradlew up # docker compose up -d ./gradlew down # docker compose down diff --git a/build.gradle b/build.gradle index c305bf5..682137b 100644 --- a/build.gradle +++ b/build.gradle @@ -44,7 +44,8 @@ tasks.register('frontendE2E', Exec) { } tasks.named('check').configure { - dependsOn frontendLint, frontendTest, frontendE2E + description = 'Full verification: frontend lint/tests, backend tests+coverage, E2E' + dependsOn ':backend:check', frontendE2E } tasks.register('up', Exec) {