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

Minor fix to improve coverage. #55 #98

Merged
merged 4 commits into from
Oct 17, 2017
Merged

Minor fix to improve coverage. #55 #98

merged 4 commits into from
Oct 17, 2017

Conversation

greebie
Copy link
Contributor

@greebie greebie commented Oct 16, 2017

The title of this pull-request should be a brief description of what the pull-request fixes/improves/changes. Ideally 50 characters or less.


GitHub issue(s):

#55, #47

What does this Pull Request do?

Adds test for no path.

How should this be tested?

Codecov & Travis.

Additional Notes:

The test merely ensures that an empty filepath results in a Unit() / Void response. This does not fully test that there no file is created. The test could be improved by including a Boolean response (true for create file and false for no file) instead of a unit.

Interested parties

Tag (@ mention) interested parties.

Thanks in advance for your help with the Archives Unleashed Toolkit!

@codecov
Copy link

codecov bot commented Oct 16, 2017

Codecov Report

Merging #98 into master will increase coverage by 1.3%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #98     +/-   ##
=========================================
+ Coverage   63.85%   65.15%   +1.3%     
=========================================
  Files          38       38             
  Lines         747      752      +5     
  Branches      141      141             
=========================================
+ Hits          477      490     +13     
+ Misses        221      214      -7     
+ Partials       49       48      -1
Impacted Files Coverage Δ
...leashed/spark/matchbox/ExtractBoilerpipeText.scala 100% <100%> (+100%) ⬆️
...io/archivesunleashed/spark/matchbox/WriteGDF.scala 100% <100%> (+10%) ⬆️

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 6db92e9...a7b89eb. Read the comment docs.

Improve ExtractBoilerpipe to avoid null pointer exception on null call.
Add placeholders to ExtractEntities for further exploration.
@greebie
Copy link
Contributor Author

greebie commented Oct 17, 2017

There! Two sources covered to 100%!

@ruebot ruebot merged commit 64a4851 into master Oct 17, 2017
@ruebot ruebot deleted the Issue-94 branch October 17, 2017 20:42
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