parent
30ebc3b8e2
commit
806fcb3839
|
|
@ -1273,7 +1273,7 @@ and `@ContextConfiguration` for further details.
|
||||||
`@WebAppConfiguration` from the Spring TestContext Framework. You can use it at the class
|
`@WebAppConfiguration` from the Spring TestContext Framework. You can use it at the class
|
||||||
level as a drop-in replacement for `@ContextConfiguration` and `@WebAppConfiguration`.
|
level as a drop-in replacement for `@ContextConfiguration` and `@WebAppConfiguration`.
|
||||||
With regard to configuration options, the only difference between `@ContextConfiguration`
|
With regard to configuration options, the only difference between `@ContextConfiguration`
|
||||||
and `@SpringJUnitWebConfig` is that you can declare annotated classes bu using the
|
and `@SpringJUnitWebConfig` is that you can declare annotated classes by using the
|
||||||
`value` attribute in `@SpringJUnitWebConfig`. In addition, you can override the `value`
|
`value` attribute in `@SpringJUnitWebConfig`. In addition, you can override the `value`
|
||||||
attribute from `@WebAppConfiguration` only by using the `resourcePath` attribute in
|
attribute from `@WebAppConfiguration` only by using the `resourcePath` attribute in
|
||||||
`@SpringJUnitWebConfig`.
|
`@SpringJUnitWebConfig`.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue