testng - Eclipse with MoreUnit - Running test with Ctrl+R gives error: "Cannot find 'junit.framework.TestCase' on project build path -


i have defined class this:

@service public class storeservice { ... } 

now, moreunit installed press ctrl+j , dialog box pops , create corresponding test class:

@test public class storeservicetest { ... } 

this fine, , able move , forth between implementation class , test class using ctrl+j.

the problem comes when try run test using ctrl+r. in eclipse projects works fine, in other projects following message:

cannot find 'junit.framework.testcase' on project build path. junit 3 tests can run if junit on build path.

now bit annoying since not using junit @ all, testng instead.

i have searched through eclipse project settings couple of times no luck. quite sure solution in there somewhere. kinda hoping bit more experienced in ways of "eclipse project configuration" point me in right direction.

i don't know if still needed, here. can set in preferences, like following


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -