Skip to content

Upgrade NUnit to 3.6 #371

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

Merged
merged 2 commits into from
Feb 14, 2017
Merged

Upgrade NUnit to 3.6 #371

merged 2 commits into from
Feb 14, 2017

Conversation

vmuriart
Copy link
Contributor

@vmuriart vmuriart commented Feb 9, 2017

What does this implement/fix? Explain your changes.

Since the embedded unit tests have been patched we can re-upgrade to NUnit3 from @filmor .

Does this close any currently open issues?

N/A

Any other comments?

On v.2.x of NUnit I'm noticing that the tests finish and hang for ~40 seconds before releasing control. on v3.x it gives some warnings but I'm not sure if thats related.

Personally I'm indifferent to prefer v2.x since it released control and occasionally print the traceback that was key to figuring the old problem out. But since that looks to be solved, I don't have a strong argument.

@den-run-ai
Copy link
Contributor

den-run-ai commented Feb 9, 2017

@vmuriart
Copy link
Contributor Author

That one.
Also I just remembered, for some reason this messes with coverage. It makes OpenCover go over the unittests code itself. Probably needs to filter the namespace.

@codecov
Copy link

codecov bot commented Feb 13, 2017

Codecov Report

Merging #371 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #371      +/-   ##
==========================================
+ Coverage   63.18%   63.19%   +0.01%     
==========================================
  Files          61       61              
  Lines        5239     5239              
  Branches      876      876              
==========================================
+ Hits         3310     3311       +1     
  Misses       1709     1709              
+ Partials      220      219       -1
Impacted Files Coverage Δ
src/runtime/pythonexception.cs 66.07% <ø> (+1.78%)

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 13e2a87...5f86154. Read the comment docs.

@vmuriart
Copy link
Contributor Author

Fixed the aforementioned coverage issue. @filmor did you still want to upgrade to NUnit3?

NUnit3/OpenCover behavior changed.
Filter removes coverage from Embedded test files by
focusing only on types of Python.Runtime.*
@vmuriart vmuriart merged commit 5f86154 into pythonnet:master Feb 14, 2017
vmuriart added a commit that referenced this pull request Feb 14, 2017
@vmuriart vmuriart deleted the nunit3_6 branch February 14, 2017 15:00
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.

2 participants