Skip to content

Added tests to increase coverage in base/rationals.jl#15105

Merged
StefanKarpinski merged 1 commit intoJuliaLang:masterfrom
pkofod:master
Feb 18, 2016
Merged

Added tests to increase coverage in base/rationals.jl#15105
StefanKarpinski merged 1 commit intoJuliaLang:masterfrom
pkofod:master

Conversation

@pkofod
Copy link
Copy Markdown
Contributor

@pkofod pkofod commented Feb 16, 2016

I thought it would only be rational to increase the test coverage, if only by a fraction. (I'm,..., sorry)

I hope the tests are in the spirit of Julia tests. They are quite simple, but then again, the functions being tested are also quite simple.

What is the best way to see the code coverage in Base functionality before making a PR or merging?

Comments and criticism is much welcomed.

@tkelman
Copy link
Copy Markdown
Contributor

tkelman commented Feb 16, 2016

These look good, thanks! I believe you can run CoverageBase locally. Automated coverage reporting is broken until we can get the OSX buildbot to pass tests again.

@pkofod
Copy link
Copy Markdown
Contributor Author

pkofod commented Feb 16, 2016

Okay. I tried unsuccessfully, but I will try to figure out how it works. Thanks for the pointer though.

@kshyatt kshyatt added the test This change adds or pertains to unit tests label Feb 16, 2016
@kshyatt
Copy link
Copy Markdown
Member

kshyatt commented Feb 16, 2016

LGTM. Thanks for adding tests, which are always welcome :).

@StefanKarpinski
Copy link
Copy Markdown
Member

Yes, thank you – more test coverage is always lovely!

StefanKarpinski added a commit that referenced this pull request Feb 18, 2016
Added tests to increase coverage in base/rationals.jl
@StefanKarpinski StefanKarpinski merged commit 809fe14 into JuliaLang:master Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test This change adds or pertains to unit tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants