English 中文(简体)
测试小组名单
原标题:List of TestNG Groups
  • 时间:2011-11-20 16:09:54
  •  标签:
  • testng

does anyone here have a good way to list all TestNG groups used in a project? The simplest way that comes to my mind is grep groups *.java. But these would not be unique. Any other ideas?

Regards, Robin

问题回答

这取决于你如何这样做。 请注意<代码>grep。 我猜想你想使用这颗空壳,因此,uniq将消除重复。 在 Java,对你的测试班进行简单检查,将使你们所有团体都受益。





相关问题
Spring Dependency Injection with TestNG

Spring support JUnit quite well on that: With the RunWith and ContextConfiguration annotation, things look very intuitive @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = "...

Servlet unit test

Currently I m using TestNG framework for testing application business logic, i added some Servlet classes recently. How do I unit test these Servlet classes in TestNg framework?

Getting black images with selenium.captureScreenshot

I m executing selenium tests with testng, that are started on a remote system with Selenium RC via hudson (with ssh connection). The remote system is windows xp with MKS Toolkit installed, hence ssh. ...

Is it possible to use the TestNG plugin with Netbeans 6.8?

I downloaded the TestNG NetBeans Plugin and tried to install it in my NetBeans 6.8. I m running NetBeans IDE 6.8 (Build 200912041610). When I click install, I get this message: Some plugins ...

Passing Object Parameters for TestNG methods?

Here is my situation. Before my tests are run, in the beforesuite, I instantiate a bunch of "environment objects" These objects get created based on my environment configuration file. It is my ...

TestNG multithreaded test with Spring @Transactional

I am using TestNG to test persistence Spring modules (JPA+Hibernate) using AbstractTransactionalTestNGSpringContextTests as a base class. All important parts @Autowired, @TransactionConfiguration, @...

热门标签