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

pytest: refactor testing infrastructure #192

Merged
merged 2 commits into from
Aug 17, 2022
Merged

Conversation

sbinet
Copy link
Member

@sbinet sbinet commented Aug 17, 2022

Derived from original from Drew O'Meara, in #191.

Fixes #191.

This CL also exposes a -regen flag to easily regenerate golden files.

Signed-off-by: Sebastien Binet <binet@cern.ch>
Derived from original work from Drew O'Meara.

Signed-off-by: Sebastien Binet <binet@cern.ch>
@codecov
Copy link

codecov bot commented Aug 17, 2022

Codecov Report

Merging #192 (80d7457) into main (80944be) will increase coverage by 0.52%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
+ Coverage   73.80%   74.33%   +0.52%     
==========================================
  Files          76       76              
  Lines       12519    12560      +41     
==========================================
+ Hits         9240     9336      +96     
+ Misses       2624     2557      -67     
- Partials      655      667      +12     
Impacted Files Coverage Δ
pytest/pytest.go 55.81% <59.25%> (+5.81%) ⬆️
examples/embedding/mylib.module.go 82.81% <100.00%> (+53.12%) ⬆️
stdlib/stdlib.go 57.89% <0.00%> (+3.00%) ⬆️
py/module.go 75.47% <0.00%> (+3.77%) ⬆️
py/util.go 26.31% <0.00%> (+21.05%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@sbinet sbinet merged commit 80d7457 into go-python:main Aug 17, 2022
@sbinet sbinet deleted the fix-191 branch August 17, 2022 14:38
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

Successfully merging this pull request may close these issues.

None yet

1 participant