0

I use Maven to make Integration test with Selenium, which run automatically.

I need to find a way to detect when failsafe crashes (when my integration test with selenium gets a fail), and make a report. How can I do that ?

At the end, I want to send a mail when the Integration test crashes.

Anyone have a solution or good idea ?

pikameuh
  • 149
  • 1
  • 1
  • 12

2 Answers2

1

Its sounds like your looking for something which detects and reports on test failures.

Jenkins is widely used and covers a lot of what you are after. Jenkins runs on a per build basis via a build manager (maven, ant, dos scripts), and takes actions based on the results of that build.

http://jenkins-ci.org/

user1412523
  • 198
  • 1
  • 6
0

You should use the verify goal of the maven-failsafe-plugin.

khmarbaise
  • 92,914
  • 28
  • 189
  • 235
  • Je n'ai pas réussi à trouver quelque chose de satisfaisant, du coup j'ai réaliser un petit code java qui réalise l'envoi de mail en cas de capture d'exception. – pikameuh Jul 07 '14 at 11:04