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

tests: Coverage improvements #474

Merged
merged 3 commits into from
Feb 11, 2019
Merged

tests: Coverage improvements #474

merged 3 commits into from
Feb 11, 2019

Conversation

sohkai
Copy link
Contributor

@sohkai sohkai commented Feb 8, 2019

Improves the coverage of some missing branches.

@sohkai sohkai requested review from izqui and bingen February 8, 2019 16:41
@@ -326,37 +336,23 @@ contract('EVM Script', accounts => {
})
})

context('registry', () => {
it('can be disabled', async () => {
context('> Registry actions', () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that these tests have been simplified as most of the functionality was already tested earlier.

@@ -1,31 +1,49 @@
pragma solidity 0.4.24;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This mock has been refactored to be simpler, and more targeted about what's missing.

@coveralls
Copy link

coveralls commented Feb 8, 2019

Coverage Status

Coverage increased (+0.8%) to 99.536% when pulling 8bb05ad on coverage-improvements into c4e0fb1 on dev.

@sohkai sohkai merged commit 5c61d10 into dev Feb 11, 2019
@sohkai sohkai deleted the coverage-improvements branch February 11, 2019 23:08
Copy link
Contributor

@bingen bingen left a comment

Choose a reason for hiding this comment

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

LGTM

sohkai added a commit that referenced this pull request Mar 8, 2019
* APMRegistry: fix tests checking APMRegistry doesn't init without required permissions

* EVMScriptRegistry: add more tests for coverage

* ENSSubdomainRegistrary: fix initialization test
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.

3 participants