Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

So I have a Selenium Automation project (using Maven). I'd like to be able to set my tests to run overnight and possibly email a report daily to the team. Which CI would be most suitable for TestNG.xml suites?

I tried Hudson but I couldn't figure out a way to execute TestNG files from the build?

Thanks in advance.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

You should be able to use Hudson to kick off a Maven job (Hudson has a Maven plugin http://wiki.hudson-ci.org/display/HUDSON/Maven+2+Project+Plugin works with maven 3) that runs your test, see http://testng.org/doc/maven.html

share|improve this answer

There are different ways that you may try and Hudson is one of them. However, you might not find a good resource or article to follow.

Here is a nice walk-through how to succeed - Continuous Integration with Selenium

I would also recommend to look at TestNG and Advanced Concepts book for a complete reference.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.