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

Update test cases to cover file #1927

merged 14 commits into from Mar 2, 2022

Update test cases to cover file #1927

merged 14 commits into from Mar 2, 2022


Copy link

@mingdavidqi mingdavidqi commented Mar 1, 2022

ASAIK, pytest normally avoids files because the name doesn't match the test_*.py or * patterns wich pytest is looking for.

No idea why it's covered (42.86%) before and why it's gone now.

Tried to write some test cases to cover file and updated codecov-action @ v2 beacause of

Fixes #1885

Copy link

@mingdavidqi I just realized something. I think you might just need to add an file to the cli_tests folder. I think we ran into a similar issue a while back with Woodwork. I don't recall the details now, but I think there was some issue with tests not being used for coverage if they were in a folder without an file.

Not completely sure this is it, but maybe something to look into.

@gsheni gsheni changed the title Update test cases to cover file. Issue #1885 Update test cases to cover file Mar 1, 2022
Copy link

codecov bot commented Mar 1, 2022

Codecov Report

Merging #1927 (2fbf301) into main (3ab6880) will increase coverage by 0.21%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1927      +/-   ##
+ Coverage   98.78%   98.99%   +0.21%     
  Files         149      150       +1     
  Lines       16438    16456      +18     
+ Hits        16238    16291      +53     
+ Misses        200      165      -35     
Impacted Files Coverage Δ
featuretools/tests/cli_tests/ 100.00% <100.00%> (ø)
featuretools/utils/ 91.66% <0.00%> (+37.49%) ⬆️
featuretools/ 60.71% <0.00%> (+60.71%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ab6880...2fbf301. Read the comment docs.

@mingdavidqi mingdavidqi requested a review from a team March 1, 2022 21:53
@mingdavidqi mingdavidqi requested a review from a team March 2, 2022 17:04
Copy link

@thehomebrewnerd thehomebrewnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


@gsheni gsheni merged commit 068887e into main Mar 2, 2022
@gsheni gsheni deleted the test_cover_main_py branch March 2, 2022 21:46
@thehomebrewnerd thehomebrewnerd mentioned this pull request Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

No code coverage on
3 participants