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
This commit is contained in:
parent
db56fc58de
commit
61a7b8a40c
2 changed files with 3 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ docker compose up -d # starts postgres, backend, frontend
|
||||||
### All-in-one
|
### All-in-one
|
||||||
|
|
||||||
```bash
|
```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 coverage # backend + frontend tests with coverage reports
|
||||||
./gradlew up # docker compose up -d
|
./gradlew up # docker compose up -d
|
||||||
./gradlew down # docker compose down
|
./gradlew down # docker compose down
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,8 @@ tasks.register('frontendE2E', Exec) {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.named('check').configure {
|
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) {
|
tasks.register('up', Exec) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue