Commit Graph

109 Commits

Author SHA1 Message Date
Oliver Drotbohm
d9ceec00fb GH-895 - Prepare next development iteration. 2024-10-26 15:20:43 +02:00
Oliver Drotbohm
94b9b3510f GH-895 - Release version 1.1.10. 2024-10-26 15:20:43 +02:00
Oliver Drotbohm
41112d8ef8 GH-880 - Add LICENSE and NOTICE files to binaries. 2024-10-14 22:19:59 +02:00
Oliver Drotbohm
a47bbcc1ab GH-812 - Prepare next development iteration. 2024-09-20 22:33:43 +02:00
Oliver Drotbohm
bf4e0c0602 GH-812 - Release version 1.1.9. 2024-09-20 22:33:43 +02:00
Oliver Drotbohm
2668e63525 GH-779 - Prepare next development iteration. 2024-08-23 11:50:36 +02:00
Oliver Drotbohm
bf2617c83b GH-779 - Release version 1.1.8. 2024-08-23 11:50:36 +02:00
Oliver Drotbohm
24d18c9b14 GH-758 - Fix test context cache key contributions.
Both ModuleContextCustomizer and ModuleTypeExcludeFilter contribute to the calculation of the context configuration which the Spring Test Context Framework uses to decide whether it's necessary to create new ApplicationContext instances.

Both of them previously used a Supplier<ModuleTestExecution> to calculate equals(…) and hashCode() which -- by definition -- does not result in the same result even when created with identical input. We now rather use the source class instance eventually backing the ModuleTestExecution, as that is the internal cache key in turn.
2024-08-11 12:02:13 -04:00
Oliver Drotbohm
8e4ac3f1ed GH-740 - Prepare next development iteration. 2024-07-19 00:46:11 +02:00
Oliver Drotbohm
8a1f94490a GH-740 - Release version 1.1.7. 2024-07-19 00:46:10 +02:00
Oliver Drotbohm
066a62a084 GH-676 - Prepare next development iteration. 2024-06-21 13:21:09 +02:00
Oliver Drotbohm
4cf8e05e11 GH-676 - Release version 1.1.6. 2024-06-21 13:21:09 +02:00
Oliver Drotbohm
56049baa73 GH-643 - Prepare next development iteration. 2024-05-24 12:44:12 +02:00
Oliver Drotbohm
6bdf54bb2e GH-643 - Release version 1.1.5. 2024-05-24 12:44:12 +02:00
Oliver Drotbohm
2c1b2aa371 GH-610 - Additional modulith packages are now considered for application classes. 2024-05-20 20:02:39 +02:00
Oliver Drotbohm
c16751b98b GH-576 - Prepare next development iteration. 2024-04-29 13:52:32 +02:00
Oliver Drotbohm
2a9d3fda2a GH-576 - Release version 1.1.4. 2024-04-29 13:52:32 +02:00
Oliver Drotbohm
a22a3bd617 GH-513 - Prepare next development iteration. 2024-02-23 16:34:58 +01:00
Oliver Drotbohm
268b27b7c3 GH-513 - Release version 1.1.3. 2024-02-23 16:34:58 +01:00
Oliver Drotbohm
6efcbea3ec GH-475 - Prepare next development iteration. 2024-01-19 21:43:40 +01:00
Oliver Drotbohm
534f1ba628 GH-475 - Release version 1.1.2. 2024-01-19 21:43:40 +01:00
Oliver Drotbohm
e26d4027f6 GH-464 - Update copyright headers. 2024-01-17 19:47:56 +01:00
Oliver Drotbohm
f98162ae87 GH-453 - Guard against AutoConfiguration- and EntityScanPackages bean definitions not having any constructor argument defined. 2024-01-16 19:52:51 +01:00
Oliver Drotbohm
edaec89ef4 GH-434 - Prepare next development iteration. 2023-12-21 23:28:18 +01:00
Oliver Drotbohm
96cd72ee91 GH-434 - Release version 1.1.1. 2023-12-21 23:28:17 +01:00
Oliver Drotbohm
3b8b10497d GH-429 - Avoid duplicate inclusions of modules in test executions. 2023-12-21 22:22:44 +01:00
Oliver Drotbohm
768103fd32 GH-393 - Prepare next development iteration. 2023-11-28 17:09:00 +01:00
Oliver Drotbohm
c6c0c0f500 GH-393 - Release version 1.1.0. 2023-11-24 18:22:06 +01:00
Oliver Drotbohm
e2cc4fe2a4 GH-345 - Properly handle manually declared entity scan and autoconfiguration packages.
If Spring Modulith packages were explicitly configured as autoconfiguration or entity scan packages, the test autoconfiguration would fail as it previously attempted to manipulate an immutable list. We now create a copy of that list to fix this.
2023-11-03 20:16:38 +01:00
Oliver Drotbohm
20a7474f2f GH-358 - Prepare next development iteration. 2023-11-03 09:02:46 +01:00
Oliver Drotbohm
6336e32d54 GH-358 - Release version 1.1.0-RC2. 2023-11-03 09:02:45 +01:00
Oliver Drotbohm
cef3ffbe7e GH-356 - Removed legacy way of tweaking autoconfiguration and entity scan packages for test runs. 2023-11-02 14:06:11 +01:00
Oliver Drotbohm
69fd64dbf7 GH-341 - Prepare next development iteration. 2023-10-23 09:12:13 +02:00
Oliver Drotbohm
d4cde409a1 GH-341 - Release version 1.1.0-RC1. 2023-10-23 09:12:13 +02:00
Oliver Drotbohm
9148a57b02 GH-317 - Detect violations from types located in root packages.
We now create artificial root application modules for all root packages to detect violations (for example, types located in root packages referring to module-internal types).
2023-10-16 07:57:16 +02:00
Oliver Drotbohm
4a857dcddf GH-323 - Move off of Google's Suppliers.memoize(…). 2023-10-15 19:23:08 +02:00
Oliver Drotbohm
c8b81e0737 GH-320 - Explicitly drop non-bootstrapped module beans during test run.
We now explicitly drop all beans resulting in a type that's contained in an application module *not* included in the current test bootstrap.
2023-10-13 23:02:40 +02:00
Oliver Drotbohm
61fa94ad63 GH-303 - Prepare next development iteration. 2023-09-21 23:35:47 +02:00
Oliver Drotbohm
6f5b3c0baa GH-303 - Release version 1.1.0-M1. 2023-09-21 23:35:47 +02:00
Oliver Drotbohm
ddaf34d4d8 GH-274 - Prepare next development iteration. 2023-08-21 07:00:02 -07:00
Oliver Drotbohm
6197d35937 GH-274 - Release version 1.0.0. 2023-08-21 06:59:57 -07:00
Oliver Drotbohm
941394f2d5 GH-273 - Remove experimental declaration from Scenario. 2023-08-17 17:35:09 +02:00
Oliver Drotbohm
39ce5346c6 GH-270 - Prepare next development iteration. 2023-08-16 08:05:46 +02:00
Oliver Drotbohm
2c5cedd1d1 GH-270 - Release version 1.0.0-RC2. 2023-08-16 08:05:46 +02:00
Oliver Drotbohm
1a84ae256f GH-260 - Prepare next development iteration. 2023-08-09 22:29:57 +02:00
Oliver Drotbohm
bf68d74756 GH-260 - Release version 1.0.0-RC1. 2023-08-09 22:29:56 +02:00
Oliver Drotbohm
3055212e4b GH-253 - Let @ApplicationModuleTest be meta-annotated with @SpringBootTest.
@ApplicationModuleTest is now meta-annotated with @SpringBootTest. This allows us to remove a couple of declarations that we actually had copied from it (such as the TestContextBootstrapper, the SpringExtension etc.)

The presence of the original annotation allow test-related auto-configuration to inspect @SprignBootTest for particular configuration. For example, we now alias the WebEnvironment to make it configurable for the test execution.
2023-08-03 09:46:42 +02:00
Oliver Drotbohm
5e2da724da GH-199 - Prepare next development iteration. 2023-06-23 12:55:10 +02:00
Oliver Drotbohm
a74c4e582d GH-199 - Release version 1.0.0-M1. 2023-06-23 12:55:09 +02:00
Oliver Drotbohm
5dfffa2244 GH-216 - Forward an ApplicationContext's ExecutorService to Scenario instances by default.
We now register a default customizer on the Scenario instances created to pick up an ExecutorService defined in the ApplicationContext so that customizations made to that are considered in the test execution.
2023-06-23 12:49:06 +02:00