开发者

unit testing ejb 2.x

开发者 https://www.devze.com 2023-02-17 04:48 出处:网络
I was asked to work on a product which is developed in ejb2.x. The code base is very larger and the code is more generic (same interface for more than 5 implementations). To understand the flow and wh

I was asked to work on a product which is developed in ejb2.x. The code base is very larger and the code is more generic (same interface for more than 5 implementations). To understand the flow and what do the methods in the classes do,开发者_JS百科 I want to unit test the code base. How can I do this? Any help would be appreciated.

Thanks, Anjali.


I thinks it's a late answer, but I do my unit tests with a web project using Cactus and jUnit. I use some mocks: EasyMOck, PowerMock e MockEjb when necessary.

0

精彩评论

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