위해 저는 현재 봄 클래스 AbstractTransactionalSpringContextTests이 추상 클래스는 이제 사용되지 않습니다 3. 봄에 나는 AbstractJUnit38SpringContextTests를 사용해야 확장 테스트 클래스를 변환하고 있습니다.봄 3 교체 isDisabledInThisEnvironment
@Override
protected boolean isDisabledInThisEnvironment(String testMethodName)
{
// Test is only needed for bugfixing and development. Do not check in with this flag on false.
return true;
}
이 isDisabledInThisEnvironment 방법에 대한 대체 무엇인가
테스트 클래스는이 방법을했다?
이것은 'ConditionalTestCase'에 의해 제공되는 기능으로 JUnit에는 TestNG와 마찬가지로 "skip test"개념이 없습니다. 나는 JUnit4 로의 전환 과정에서 간과 할 가능성이 있다고 생각한다. – skaffman