[英]how do I generate a test file form a java file using Parasoft
I am new at Parasoft. 我是Parasoft的新手。 I am using Parasoft as a plugin for Eclipse.
我正在使用Parasoft作为Eclipse的插件。 Today I used it for the first time on a java file with right click and Parasoft -> Test Using -> User-Defined -> my_configuration.
今天,我第一次在Java文件上使用它,右键单击并选择Parasoft- > Test Using- > User- Defined- > my_configuration。
How do I generate a new test file for a java file using Parasoft? 如何使用Parasoft为Java文件生成新的测试文件? How do I modify a test file already created for a java file?
如何修改已经为Java文件创建的测试文件? I make some changes in a java file and I should modify the test file.
我在Java文件中做了一些更改,我应该修改测试文件。 I think there should be an option somewhere but I didn't founded on the web.
我认为应该在某个地方有一个选择,但是我不是在网络上建立的。 Something in Parasoft/Test Using/Builtin?
Parasoft中的某些功能/使用测试/构建的功能?
If I go to "Parasoft -> Test Using -> Builtin -> Generate and Run Unit Tests" I can generate a new test file for my java file. 如果转到“ Parasoft->使用->内置->生成并运行单元测试”,则可以为Java文件生成一个新的测试文件。 But I want to add test cases automatically to my existing test file.
但是我想将测试用例自动添加到我现有的测试文件中。 In my header of test file I have: * Created by Jtest on 10/2/12 9:07:30 AM.
在测试文件的标头中,我具有:*由Jtest在12/2/2上午9:07:30创建。 * Updated by Jtest on 10/25/12 2:35:22 PM, 12 test cases added.
*由Jtest在12/10/25下午2:35:22更新,添加了12个测试用例。
I need to update this file like in the second line from above"* Updated by Jtest on 10/25/12 2:35:22 PM, 12 test cases added.". 我需要像上面第二行一样更新此文件“” *由Jtest在10/25/12 2:35:22 PM更新,添加了12个测试用例。
Thanks, 谢谢,
Dorian 多里安
The automation for test class creation is configured in Test Configuraion
tab Generaiton
. 创建测试类的自动化功能在“
Test Configuraion
选项卡“ Generaiton
中进行Test Configuraion
。
More you will find in the help, that is very outstanding and all required information are there. 您会在帮助中找到更多信息,这是非常出色的,并且所有必需的信息都在其中。 The lesson 11 should answer to all of your question.
第11课应回答您的所有问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.