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

Test retry handler #184

Closed
ishubin opened this issue Dec 11, 2014 · 4 comments
Closed

Test retry handler #184

ishubin opened this issue Dec 11, 2014 · 4 comments

Comments

@ishubin
Copy link
Member

ishubin commented Dec 11, 2014

It would be nice to have a test retry mechanism like in TestNG. This will be applied on the JavaScript tests and in Standard test suite. Requirements still need to be clarified. Could be something like this.

testRetry(function (test, retryCount) {
    if (retryCount > 2) {
        return false;
    }
    else return true;
});

It should also produce only the reports of the last retry of a test so that we don't get all the original failed reports. And also the retry should kick in only in case the test run was failed

@ishubin
Copy link
Member Author

ishubin commented Jan 3, 2015

Fix is in release-1.5 branch

@cpapazaf
Copy link

Hi there,

I was looking how to rerun the tests but using the DSL instead. Is there any recommended way to do that?

Thanks

@ishubin
Copy link
Member Author

ishubin commented Dec 13, 2016

@cpapazaf What do you mean by using the DSL instead?

@cpapazaf
Copy link

cpapazaf commented Dec 13, 2016

@ishubin As far as I understand in order to use the snippet above we need to implement our tests in JS. I'm using the Spec API to implement them (http://galenframework.com/docs/reference-galen-spec-language-guide).

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

No branches or pull requests

2 participants