Andy Wilkinson
9b15b4bce9
Consolidate mock web server factories
...
Closes gh-44674
11 months ago
Andy Wilkinson
5683d39fd6
Allow resources to hide existing resources with the same name
...
See gh-44444
11 months ago
Andy Wilkinson
3acea583ad
Add support for working with resources in tests
...
Closes gh-44444
11 months ago
Ahmed Ashour
207327d97c
Use method references when possible in test code
...
See gh-40974
2 years ago
Ahmed Ashour
2c5934dab2
Use 'switch' instead of 'if'
...
See gh-40985
2 years ago
Moritz Halbritter
5d9d0f43b6
Implement AssertJ assertions for SimpleAsyncTaskExecutor
3 years ago
Stephane Nicoll
09e5d38348
Polish "Replace @CsvSource with @ValueSource where feasible"
...
See gh-36062
3 years ago
Yanming Zhou
acb7acd5d9
Replace @CsvSource with @ValueSource where feasible
...
@ValueSource is more appropriate for single parameter.
See gh-36062
3 years ago
Andy Wilkinson
b32697b3ce
Add support to @ClassPathExclusions for excluding packages
...
Closes gh-36120
3 years ago
Phillip Webb
4ae24e404e
Add @DisabledIfProcessUnavailable test support annotation
...
Add `@DisabledIfProcessUnavailable` annotation that can disable
a test if a process isn't available to execute.
Closes gh-35023
3 years ago
Phillip Webb
df5898a146
Reformat code following spring-javaformat upgrade
3 years ago
Phillip Webb
a2ac38e203
Update copyright year of changed files
3 years ago
Krzysztof Krason
cf6493f65c
Simplify AssertJ assertions and also make them more readable
...
See gh-33653
3 years ago
Phillip Webb
e4772cf3b7
Update copyright year of changed files
3 years ago
Andy Wilkinson
ac6ad7c0f1
Fix ModifiedClassPathExtension with parameterized tests
...
Closes gh-33014
3 years ago
Phillip Webb
d4cc8fc3a6
Support modified classpath on methods and parameterized tests
...
Update `ModifiedClassPathExtension` and related classes so that
annotations can be used directly on test methods, or on classes
passed into parameterized tests.
Closes gh-33014
3 years ago
Andy Wilkinson
fe7b13ec46
Upgrade to Spring Framework 6 and Jakarta EE 9
...
Closes gh-28619
Closes gh-28620
Closes gh-28621
Closes gh-28622
Closes gh-28623
Closes gh-28624
Closes gh-28625
Closes gh-28626
Closes gh-28627
Closes gh-28628
Closes gh-28629
Closes gh-28630
Closes gh-28631
Closes gh-28632
Closes gh-28633
Closes gh-28634
Closes gh-28635
Closes gh-28636
Closes gh-28638
Closes gh-28639
Closes gh-28640
Closes gh-28644
Closes gh-28645
Closes gh-28650
Closes gh-28711
Closes gh-28866
Closes gh-28867
Closes gh-28868
Closes gh-28872
See gh-28641
See gh-28642
See gh-28643
See gh-28646
See gh-28647
See gh-28648
See gh-28649
See gh-28721
See gh-28869
See gh-28871
4 years ago
Stephane Nicoll
306b6f6999
Configure SessionCookieConfig in MockServletWebServer
...
Closes gh-26479
5 years ago
dreis2211
c00d5c5643
Introduce @ForkedClassPath for testing unmodified class path
...
See gh-22710
6 years ago
Stephane Nicoll
b5e23e7405
Update copyright year of changed files
...
See gh-20020
6 years ago
Johnny Lim
b67ece48e4
Polish
...
See gh-20020
6 years ago
dreis2211
2038fac825
Remove testsupport.assertj package
...
See gh-17557
7 years ago
Phillip Webb
eff1147ccc
Rename classpath runner package
...
Remove `runner` since we're no longer tied to JUnit 4.
See gh-17491
7 years ago
Phillip Webb
1117fdb2b3
Make ModifiedClassPathExtension package private
...
Meta-annotate `ClassPathExclusions` and `ClassPathOverrides` with
so that the `ModifiedClassPathExtension` no longer needs to be
used directly.
See gh-17491
7 years ago
Phillip Webb
13b39cbbbf
Delete ModifiedClassPathRunner
...
Delete `ModifiedClassPathRunner` since we no longer have any tests
that use it.
See gh-17491
7 years ago
dreis2211
2a4c48cb91
Add JUnit 5 ModifiedClassPathExtension
...
Add a JUnit 5 extension that allows tests to be run with a
modified classpath. Since JUnit 5 does not currently offer a way
to run tests with a different classpath, we instead fake the
original invocation and launch an entirely new run for each
method.
See gh-17491
7 years ago
Phillip Webb
01933f9b06
Merge previously split strings
...
Merge some string lines that were previously split because of the
90 chars wide formatting.
7 years ago
Andy Wilkinson
b18fffaf14
Move tests to JUnit 5 wherever possible
7 years ago
Phillip Webb
ad5e905bd7
Update copyright header of changed files
7 years ago
Phillip Webb
68aec8b6ee
Polish
7 years ago
Phillip Webb
d76bba5e6f
Migrate from ExpectedException rule to AssertJ
...
Replace ExpectedException JUnit rules with AssertJ exception
assertions.
Closes gh-14336
7 years ago
Phillip Webb
0ba4830b4f
Relocate projects to spring-boot-project
...
Move projects to better reflect the way that Spring Boot is released.
The following projects are under `spring-boot-project`:
- `spring-boot`
- `spring-boot-autoconfigure`
- `spring-boot-tools`
- `spring-boot-starters`
- `spring-boot-actuator`
- `spring-boot-actuator-autoconfigure`
- `spring-boot-test`
- `spring-boot-test-autoconfigure`
- `spring-boot-devtools`
- `spring-boot-cli`
- `spring-boot-docs`
See gh-9316
8 years ago