简体   繁体   中英

Is it possible to mix JUnit3 and JUnit4?

I believe that you can help me solve problem connected with compabitility JUnit libraries.

The problem is that we develop mobile apps (android) and we're using test managment tool called SpiraTest. We want that unit test results will be exported to SpiraTest automatically so want use junit extension for Spiratest (made by Spira team). Problem is that it requires JUnit4 to integrate, what Android doesn't support.

What would you recommend to do?

I would say that if you are going to do unit testing of you own functionality it won't really matter if Android supports it or not, you just run the unit tests regardless of the Android SDK. However if you intent to use jUnit to work alongside Android, there is no way at the moment to do it that I'm aware of.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM