开发者

Recommendations/Experiences for and with current Java EE/EJB3.0 Testing Frameworks (freebies)

开发者 https://www.devze.com 2023-02-13 06:56 出处:网络
I\'m looking for your opinion on the technologies you have used successfully - or not so successful开发者_StackOverflow中文版ly - to automate your Java EE/EJB3 unit and integration testing.I\'ll take

I'm looking for your opinion on the technologies you have used successfully - or not so successful开发者_StackOverflow中文版ly - to automate your Java EE/EJB3 unit and integration testing. I'll take advice on $$$ tools, but unfortunately the $$$ isn't in the budget at present.

We're currently embarking on the whole "let's standardize testing for our team" thing. We've been using Groovy/JUnit for basic unit testing, but we need to add mock testing and integration testing, building this up into smoke tests that are run after each automated build to ensure that not only does the code compile, but works as expected. ;)

There's a myriad of things out there, like EJB3Unit, JMock, Mockito, Cactus, Arquillan... I could list all the things I've looked at as easily as you could too google "testing ejb3 Java EE". I would appreciate YOUR two cents on what's worked well for you (or likewise, what to avoid).

Thank you!


I recommend Arquillian. Using it, you are able to test not only EJBs, but almost everything. It's also easy to use, to setup and it can be configured to execute your tests inside the actual running container.

0

精彩评论

暂无评论...
验证码 换一张
取 消