Stephane Nicoll
816c236e5b
Merge branch '1.5.x'
8 years ago
Stephane Nicoll
ee72e788ed
Rename `spring-boot-junit-runners` to `spring-boot-test-support`
...
Closes gh-7421
8 years ago
Stephane Nicoll
4a97b38524
Remove deprecated code
...
Closes gh-6563
8 years ago
Stephane Nicoll
0568afc6cb
Merge branch '1.5.x'
8 years ago
Johnny Lim
423f8037ce
Polish
...
Closes gh-7530
8 years ago
Stephane Nicoll
96ca884450
Merge branch '1.5.x'
8 years ago
Stephane Nicoll
80da80f930
Make sure that test data sources are unique
8 years ago
Stephane Nicoll
fa0bb9cac4
Merge branch '1.5.x'
8 years ago
Stephane Nicoll
ba61faee5e
Remove trailing char
8 years ago
Stephane Nicoll
2577d79ff1
Merge branch '1.5.x'
8 years ago
Stephane Nicoll
b618c70e52
Add test slice for pure jdbc tests
...
This commit adds `@JdbcTest`, a new test slice for pure jdbc tests. It
provides the same basic features than `@DataJpaTest`.
Closes gh-6563
8 years ago
Phillip Webb
b4c3f4f504
Merge branch '1.5.x'
8 years ago
Phillip Webb
5ed00b3501
Merge branch '1.4.x' into 1.5.x
8 years ago
Phillip Webb
357d072a60
Polish
8 years ago
Stephane Nicoll
c212f1078f
Merge branch '1.5.x'
8 years ago
Stephane Nicoll
ca788a90e6
Merge branch '1.4.x' into 1.5.x
8 years ago
Stephane Nicoll
4bf645c615
`AutoconfigureTestDatabase` replace with a fresh database
...
Previously, two or more `@DataJpaTest` tests in the same test suite were
sharing the same in-memory database instance. This commit makes sure
that `TestDatabaseAutoConfiguration` creates a unique embedded database
for each test it operates on.
Closes gh-7473
8 years ago
Phillip Webb
ab3a001286
Merge branch '1.5.x'
8 years ago
Phillip Webb
dc237043b8
Merge branch '1.4.x' into 1.5.x
8 years ago
Phillip Webb
74670cb20f
Allow WebDriver beans to define their own scope
...
Update `WebDriverScope` so that only `WebDriver` beans with no explicit
scope are moved.
Fixes gh-7454
8 years ago
Andy Wilkinson
a501afdeb1
Merge branch '1.5.x'
8 years ago
Andy Wilkinson
b2a8be8bbe
Merge branch '1.4.x' into 1.5.x
8 years ago
Andy Wilkinson
3423ca87b4
Ensure that RestClientTest can be used without Jackson on the class path
...
Closes gh-7431
8 years ago
Phillip Webb
d8b7d6dfdc
Merge branch '1.5.x'
8 years ago
Phillip Webb
764f13453a
Merge branch '1.4.x' into 1.5.x
8 years ago
Phillip Webb
bacf0878af
Polish
8 years ago
Spring Buildmaster
e712a9ba8c
Next Development Version
8 years ago
Stephane Nicoll
0e92271a19
Merge branch '1.5.x'
8 years ago
Stephane Nicoll
5878e5eec5
Merge branch '1.4.x' into 1.5.x
8 years ago
Stephane Nicoll
318701daa7
Apply DispatcherServlet customizations to MockMvc
...
This commits makes sure that customizations on `DispatcherServlet` are
also applied to the `TestDispatcherServlet` that `MockMvc` is using
internally.
Closes gh-5891
8 years ago
Stephane Nicoll
0a4a84d357
Merge branch '1.5.x'
8 years ago
Stephane Nicoll
3018e95261
Merge branch '1.4.x' into 1.5.x
8 years ago
Stephane Nicoll
ebfd86ea26
Polish contribution
...
Closes gh-7326
8 years ago
sebastiankirsch
e8b0a64872
Add @Inherited to all AutoConfigure* classes
...
See gh-7326
8 years ago
Phillip Webb
98a3ae9ac4
Merge branch '1.5.x'
8 years ago
Phillip Webb
5b66ffbb4b
Merge branch '1.4.x' into 1.5.x
8 years ago
Greg Potter
39d5881bf2
Respect 'primary' flag when replacing databases
...
Update TestDatabaseAutoConfiguration to ensure that the the `primary`
flag of the `BeanDefinition` is copied.
Closes gh-7217
8 years ago
Stephane Nicoll
0234191b0a
Merge branch '1.5.x'
8 years ago
Stephane Nicoll
4855bfb152
Merge branch '1.4.x' into 1.5.x
8 years ago
Stephane Nicoll
a03ce0a9d1
Polish contribution
...
Add missing test
Closes gh-7193
8 years ago
Johnny Lim
0b5fbbedf4
Add a missing return
...
This commit adds a missing`return` in `getDataSourceBeanDefinition()`.
See gh-7193
8 years ago
Stephane Nicoll
6643ec3713
Next development version
8 years ago
Stephane Nicoll
6bd670edbc
Initiate 1.4.x branch
8 years ago
Spring Buildmaster
7e9ed5e1a7
Next Development Version
8 years ago
Johnny Lim
a994b11a73
Polish
8 years ago
Phillip Webb
e239e64cb1
Only print MVC interactions when tests fail
...
Update `@AutoConfigureMockMvc` with a `printOnlyOnFailure` option which
allows errors to be printed only when tests fail. Defaults to `true`
meaning the logs are no longer cluttered with MVC results for passing
tests.
Fixes gh-6653
8 years ago
Andy Wilkinson
0a9bcd9893
Polish
8 years ago
Phillip Webb
ac2609b585
Fix WebDriver lifecycle issues
...
Update WebDriver support to ensure that the `.quit()` method is called
after each test method runs and that a new WebDriver instance is
injected each time.
Support is provided by introducing a new `Scope` which is applied by
a ContextCustomizerFactory and reset by a TestExecutionListener.
Fixes gh-6641
8 years ago
Phillip Webb
0ef845b96e
Polish
8 years ago
Phillip Webb
82ae6e4049
Improve @AutoConfigureTestDatabase failure message
...
Fixes gh-6916
8 years ago