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

is it possible to generate code coverage with nutter ? #55

Open
vinura opened this issue Dec 3, 2020 · 7 comments
Open

is it possible to generate code coverage with nutter ? #55

vinura opened this issue Dec 3, 2020 · 7 comments
Labels
question Further information is requested

Comments

@vinura
Copy link

vinura commented Dec 3, 2020

I am trying integrated UnitTests + Codecoverage and Sonar Cloud. I am looking at a way to generate code coverage reports.

When I tried to run code coverage. Using Code Coverage API like this

`
def run_tests():

cov = coverage.Coverage()
cov.start(source=)

TESTS!

cov.stop()
cov.save()
cov.html_report(directory='/dbfs/Users/Vinura/coverage_report')

`

The following happens. It runs the code coverage on cluster root. So is it possible to use nutter to generate code coverage reports?

MicrosoftTeams-image (5)

@giventocode
Copy link
Contributor

Can you please clarify a bit further, what are the files you want to generate the coverage for? We have considered to provide limited coverage information for notebooks: whether a notebook in a folder has been called by a nutter test.

@giventocode giventocode added the question Further information is requested label Dec 7, 2020
@vinura
Copy link
Author

vinura commented Dec 8, 2020

In a nutshell, is it possible to get the code coverage metric for the entire project?

Ex - Lines Covered by Tests / Lines in entire project . Is it possible to get the code coverage metric?

This is to set a gate for the pull request.

@renepajta
Copy link
Member

Any update on this feature? Are we able to get code coverage for nutter tests?

@KishanChoudhury
Copy link

Any update on this feature? a code coverage metric would be really helpful in order to report on the quality of the code

@jugani
Copy link

jugani commented Aug 30, 2023

Is there any updates on this issue ?

@arturo-opsetmoen-amador
Copy link

Are there any updates whatsoever or is the project not maintained any more?

@sergiopolimante
Copy link

Any updates here?

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

No branches or pull requests

7 participants