after_test not invoked when test fails

Rainer's Avatar

Rainer

16 Jul, 2015 04:22 PM

I've got a sample project with karma, which uses the after_test hook with a node script that updates the test view through /api/tests/batch.
https://github.com/RainerAtSpirit/koComponentTests/blob/master/appv...

Works fine as long as all test pass: https://ci.appveyor.com/project/RainerAtSpirit/kocomponenttests/bui...

If one of the tests fails after_test won't be executed. Is there another hook that always gets executed regardless of pass/fail status?

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Jul, 2015 06:13 PM

    Feodor Fitsner's Avatar

    on_finish is called in the end of each build for both successful and failed builds.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac