Skip to content

Conversation

@cgewecke
Copy link
Member

@cgewecke cgewecke commented Sep 15, 2019

Lets you write tests with a grep-able tag...

it("is a gas usage simulation [ @fails-coverage ]", async function(){
...
});

...and skip them via solcoverjs

module.exports = {
  mocha: {
    grep: "@fails-coverage",
    invert: true
  }
}

mocha options link
(PR also has some additional tests cleanup).

@cgewecke cgewecke merged commit 77628b0 into truffle-plugin Sep 15, 2019
@cgewecke cgewecke deleted the add/mocha-opts branch September 15, 2019 20:13
cgewecke added a commit that referenced this pull request Sep 25, 2019
* Add mocha options in solcoverjs (for skipping tests)

* Plugin tests cleanup
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