Skip to content

Commit 79ae574

Browse files
committed
Upgrade to Bootique 4.0-M4
1 parent b17083d commit 79ae574

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Custom Logback setup (`service/logger/`): `MultiAppender` + per-release/per-roll
6767

6868
## Testing notes
6969

70-
JUnit 5 (`bootique-junit5`) + Mockito. Tests instantiate services directly and hand-build a Cayenne `ServerRuntime` from `cayenne/cayenne-project.xml` rather than booting the full app. Hand-written `Mock*` doubles (e.g. `MockPreferenceService`, `MockGitHubApi`, `MockReleasePersistentService`) live alongside the tests and are the preferred way to fake collaborators. Some tests are `@Disabled` (they depend on local git/maven state) — don't assume the whole suite runs clean offline. Test fixtures (sample POMs/repos) are under `src/test/resources/`.
70+
JUnit 5 (`bootique-junit`) + Mockito. Tests instantiate services directly and hand-build a Cayenne `ServerRuntime` from `cayenne/cayenne-project.xml` rather than booting the full app. Hand-written `Mock*` doubles (e.g. `MockPreferenceService`, `MockGitHubApi`, `MockReleasePersistentService`) live alongside the tests and are the preferred way to fake collaborators. Some tests are `@Disabled` (they depend on local git/maven state) — don't assume the whole suite runs clean offline. Test fixtures (sample POMs/repos) are under `src/test/resources/`.
7171

7272
## Coding standards
7373

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<version>1.0-SNAPSHOT</version>
1616

1717
<properties>
18-
<bq.version>4.0-M3</bq.version>
19-
<jetty.version>12.1.5</jetty.version>
20-
<jackson.version>2.19.4</jackson.version>
18+
<bq.version>4.0-M4</bq.version>
19+
<jetty.version>12.1.10</jetty.version>
20+
<jackson.version>2.22.0</jackson.version>
2121
<mysql.jdbc.version>9.5.0</mysql.jdbc.version>
2222
<sqlite.version>3.44.1.0</sqlite.version>
2323

@@ -156,7 +156,7 @@
156156
<!-- Test -->
157157
<dependency>
158158
<groupId>io.bootique</groupId>
159-
<artifactId>bootique-junit5</artifactId>
159+
<artifactId>bootique-junit</artifactId>
160160
<scope>test</scope>
161161
</dependency>
162162
<dependency>
@@ -170,7 +170,7 @@
170170
<plugins>
171171
<plugin>
172172
<!-- Override the parent's surefire 2.22.1, whose JUnit Platform provider is too old
173-
to discover the JUnit 5.14 / Platform 1.14 tests pulled in by bootique-junit5
173+
to discover the JUnit 6.0 tests pulled in by bootique-junit
174174
(it silently runs 0 tests). 3.x provisions a matching junit-platform-launcher. -->
175175
<groupId>org.apache.maven.plugins</groupId>
176176
<artifactId>maven-surefire-plugin</artifactId>

0 commit comments

Comments
 (0)