3 ms·
I'm not sure if it's what the author was getting at, but you can't order test execution in junit, so you can't chain together integration tests. Of course, tha
by NickNameNick 10y ago
I'm not sure if it's what the author was getting at, but you can't order test execution in junit, so you can't chain together integration tests.
Of course, that's why you use other tools like TestNG. Unit tests aren't _units_ if they're interdependent.
edit Looks like the author was trying to execute multiple overlapping test suites. Haven't tried that.
- smoyer 10y agoJUnit 5 [1], which is currently under development will include the ability to control test order. The whole framework was redesigned with a consistent model for extending almost all aspects of the system. [1] http://junit.org/junit5/ http://junit.org/junit5/
- jacques_chester 10y agoI looked at JUnit 5 recently and it's super super promising. The website design does rather give the impression that it's done. I know that if I read the text, I learn that it's not, but my brain categorises those paras as marketing fluff and ignores them. But it looks very much like what I want from Java testing. My views have, admittedly, been warped by RSpec and Jasmine.