renaming from gitTally to Werkator

This commit is contained in:
mhoennig
2026-08-30 18:35:49 +02:00
parent 4d76744721
commit 7f550689dd
169 changed files with 1361 additions and 7504 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
---
name: writing-tests
description: GitTally testing conventions — Kotest FunSpec spec structure, MockK matchers, and the two patterns for mocking beans in Spring slice tests (springmockk @MockkBean or @TestConfiguration). Use when writing, extending, or refactoring tests.
description: werkator testing conventions — Kotest FunSpec spec structure, MockK matchers, and the two patterns for mocking beans in Spring slice tests (springmockk @MockkBean or @TestConfiguration). Use when writing, extending, or refactoring tests.
---
# Writing Tests for GitTally
# Writing Tests for werkator
Tests use **Kotest `FunSpec`** style. `SpringExtension` is registered globally in `io.kotest.provided.ProjectConfig` — do not add it per-spec.
@@ -23,7 +23,7 @@ Tests mirror the production package structure under `src/test/kotlin`.
Run a single test class instead of the full suite while iterating:
```bash
./gradlew test --tests "de.hoennig.gittally.ApplicationContextTest"
./gradlew test --tests "de.hoennig.werkator.ApplicationContextTest"
```
## Mocking in Spring Slice Tests