Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add return codes if tests are failing #46

Open
sebastianneubert opened this issue Mar 17, 2015 · 0 comments
Open

Add return codes if tests are failing #46

sebastianneubert opened this issue Mar 17, 2015 · 0 comments

Comments

@sebastianneubert
Copy link
Contributor

If livetest is started via ANT or Bash, it still thinks everything works fine because it get a successful return code. That could be confusing, if tasks are depending on this livetest task.

A correct return code should work to get the correct behavior.

livetest:
     [exec]
     [exec] LiveTest2 (2.2)
     [exec]
     [exec]   Default Domain  : http://qm.ci.guj.de
     [exec]   Start Time      : 2015-03-16 20:20:20
     [exec]   Number of URIs  : 1
     [exec]   Number of Tests : 5
     [exec]
     [exec]   Running: ***f*
     [exec]
     [exec]      Result Statuses:
     [exec]
     [exec]      Url         :  http://qm.ci.guj.de/
     [exec]      Test        :  impressumPresent
     [exec]      Test Class  :  LiveTest\TestCase\General\Html\TextPresent
     [exec]      Session     :  indexPages
     [exec]      Status      :  Failed
     [exec]      Message     :  The given text "Impressum" was not found.
     [exec]      FailOnError :  false
     [exec]
     [exec]   Tests: 5 (failed: 1, error: 0) - Duration: 0 second(s)

BUILD SUCCESSFUL
Total time: 2 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant