Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
easiest way to replay tests for a set of configurations
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AdrianCole  
View profile  
 More options Jun 30, 4:46 am
From: AdrianCole <fernc...@gmail.com>
Date: Tue, 30 Jun 2009 01:46:38 -0700 (PDT)
Local: Tues, Jun 30 2009 4:46 am
Subject: easiest way to replay tests for a set of configurations
Hello.

I'm working on a project called jclouds, which has pluggable
transports for cloud services.  I'd like to replay all of my testng
integration tests for each transport and without a lot of custom code
or configuration.

What's the easiest way to accomplish this using testng and maven?
These tests currently execute in the integration-test phase of maven
via pattern matching on test class name.

Regards,
-Adrian
http://code.google.com/p/jclouds


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cédric Beust ♔  
View profile  
 More options Jun 30, 9:39 am
From: Cédric Beust ♔ <cbe...@google.com>
Date: Tue, 30 Jun 2009 06:39:52 -0700
Local: Tues, Jun 30 2009 9:39 am
Subject: Re: [testng-users] easiest way to replay tests for a set of configurations

Can you give more details on what changes between configurations?

If it's just simple values, you could just use variables defined inside
testng.xml.  If you need more complex values, such as full Java objects,
there are more advanced techniques, among which:

   - Run TestNG programmatically and set these values yourself in code
   before calling testng.run().
   - Create a synthetic testng.xml file.

--
Cedric

--
***Cédric
*

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AdrianCole  
View profile  
 More options Jul 1, 1:32 pm
From: AdrianCole <fernc...@gmail.com>
Date: Wed, 1 Jul 2009 10:32:18 -0700 (PDT)
Local: Wed, Jul 1 2009 1:32 pm
Subject: Re: easiest way to replay tests for a set of configurations
Thanks for the attention, Cédric.  The only thing that changes is the
implementation of the Guice Module, which is a no-arg constructor
object.  I'm specifically hoping to find an integration pattern that
works within the maven lifecycle to replay all tests for each Module
in a list.

Thanks again,
-Adrian
jclouds

On Jun 30, 3:39 pm, Cédric Beust ♔ <cbe...@google.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google