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

on_complete called multiple times #533

Open
Sergio-Mira opened this issue Nov 30, 2017 · 0 comments
Open

on_complete called multiple times #533

Sergio-Mira opened this issue Nov 30, 2017 · 0 comments
Labels

Comments

@Sergio-Mira
Copy link

Sergio-Mira commented Nov 30, 2017

We are using PhantomJS and for some reason it is reporting the same result line 3 times, which makes Teaspoon consider that it has results 3 times in a row:
{"type":"result","elapsed":"234.24000","_teaspoon":true}

Unfortunately that means test results are being printed 3 times too and it generates broken JUnit reports as too many closing tags are added.

Is there any possibility that a guard against multiple calls with result could be added to notify_formatters?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants