سؤال

I'm looking for a framework to run jUnit tests written for EJB.

What's the best framework? Why?

I've found Arquillian, Mockito and Embeddable API. What the alternative framework besides them?

هل كانت مفيدة؟

المحلول

A good unit test has a few important characteristics one of which is to Mock external dependencies and for that you'll need a mocking framework. Mockito is a good mocking framework. Jmockit is another one. Arquillian, however, is an integration testing framework and not a unit testing one.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top