Is it possible to mix JUnit3 and JUnit4?

五迷三道 提交于 2019-12-12 04:46:54

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/25402654/is-it-possible-to-mix-junit3-and-junit4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!