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

A few suggestions #3

Open
ghost opened this issue Jul 22, 2016 · 1 comment
Open

A few suggestions #3

ghost opened this issue Jul 22, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 22, 2016

Here is a few things I may think could be usefull to add.

  • a method to enable harmony support if needed. So all harmony features can be used. With Istanbul and Angular 2 this is very usefull.
  • a timeout method. Let the tests timeout after x ms with inactivity.
  • retry. Set number of times to retry failed test cases
  • a option to enable global names. Same features as seen in Mocha and Jasmine.
  • log
@m-a-r-c-e-l-i-n-o
Copy link
Owner

Thank you for the suggestions.

a method to enable harmony support if needed. So all harmony features can be used. With Istanbul and Angular 2 this is very usefull.

Harmony support can be enabled by installing the nutra-jasmine-coverage-babel-preset , adding a babelrc file to your root with the harmony features you want, and configuring nutra (with a nutra config file) to preprocess the files in question.

a timeout method. Let the tests timeout after x ms with inactivity.

This would likely be an implementation detail of the testing framework. Nutra is just a test runner.

retry. Set number of times to retry failed test cases

This might be a good addition but I would need a use case proposition to move forward with that.

a option to enable global names. Same features as seen in Mocha and Jasmine.

As mentioned above, this is a test runner, not a test framework, I don't think this addition would not make much sense.

log

What would be logged exactly?

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