我正在开发一个 Java企业应用程序,我谨联合测试。
是否有任何人知道我应该使用哪些工具,谁知道任何例子或辅导?
我正在开发一个 Java企业应用程序,我谨联合测试。
是否有任何人知道我应该使用哪些工具,谁知道任何例子或辅导?
我将假设,通过企业申请,你主要指企业部分。
因此,如果你想测试EJB3.1(因为你在Java E 6上重新工作),你就可以利用你选择的环境——就像任何其他非Java E发展一样——即JUS,并使用。 它应当开展unit检测的工作。
http://www.ohchr.org。 我希望你发现这一联系是任何帮助:。 在TDD中,为什么开放EJB,以及为什么Arquillian?。
对于使用依赖性注射(所有新开发的EJBs on Java EE 6应当如此)的基于认知的EJB,除了测试框架之外(通常为JUSG,但测试性国家应当做得更好)和模拟框架(Mockito和易于检测是民众的选择)。 如
当然,对于Java EE,比EJBs多得多,对于 st的其他部分(主要是网络UIs),单位测试可能需要更细致的技术。
如果你在寻求一体化测试,那么对Arquillian就有一个检查点。
在普通单位测试中,你应测试孤立物体的行为,Mockito、PowerMockito和Junnit是你的朋友。
What do software engineers encounter after another stressfull release? Well, the first thing we encounter in our group are the bugs we have released out in the open. The biggest problem that we as ...
I have some funny noob problem. I try to run unit tests from commandline: H:PROpyEstimator>python src estpython est_power_estimator.py Traceback (most recent call last): File "src est...
I´m working on a huge project at my work. We have about 200 database tables, accordingly a huge number of Models, Actions and so on. How should I begin to write tests for this? My biggest problem ...
Just wondering what people are using for code coverage tools when using MS Visual Studio 2008 Pro. We are using the built-in MS test project and unit testing tool (the one that come pre-installed ...
Say you have this shell of a class: public class Number { private int value; public Number() : this(0) {} public Number(int initialValue) : this(initialValue, 0, 100) {} ...
I have a C++ legacy codebase with 10-15 applications, all sharing several components. While setting up unittests for both shared components and for applications themselves, I was wondering if there ...
There s a bug/feature in Visual Studio 2010 where you can t create a unit test project with the 2.0 CLR. https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=483891&wa=...
Is there a simple (Attribute-driven) way to have the following test fail on the message of the exception. [TestMethod()] [ExpectedException(typeof(ArgumentException))] public void ExceptionTestTest() ...