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

Display result option #24

Open
jycouet opened this issue Apr 20, 2016 · 1 comment
Open

Display result option #24

jycouet opened this issue Apr 20, 2016 · 1 comment

Comments

@jycouet
Copy link

jycouet commented Apr 20, 2016

Hi,

Thank you for this generator.
It would be nice to be able to set what kind of calculation we want no?

Today you have your own formula for coverage right?
It would be nice to set in the option something like:

var opts = {
    //Statements
    //Branches
    //Functions
    //Lines
    //istanbul-cobertura-badger => your own formula :)
    resultType: 'Statements'
};
@marcellodesales
Copy link
Member

@jycouet If you give us real-world examples of what those formulas would be, I think we could add something passing down to Istanbul. Have you verified if Istanbul has anything like that?

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

2 participants