Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

mmichaelis/spring-aware-rule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Archived: Solution is meanwhile available in Spring. No need for copy & paste code anymore.


Spring-Aware-Rule

An example how to replace (most) functionality of a SpringJUnit4ClassRunner by a JUnit TestRule as introduced in CoreMedia Minds Post

Mind that the rule copies some (and not all) behavior of the SpringJUnit4ClassRunner. So the normal restrictions for copy & paste code also applies to this solution.

Note: There is a more complete solution already waiting as Pull Request 222 for the spring-framework addressing this issue which is also described in SPR-7731.

About

An example how to replace (most) functionality of a SpringJUnit4ClassRunner by a JUnit TestRule

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages