There are a number of tests like rely, deny and file that are common across many contracts. We should add support for easily adding tests for these on any contract. Something like:
assertAuth(myContract) - this checks rely/deny
assertFile(myContract, {what:"vow",selector:abi.encodeWithSelector(MyContract.vow.selector)}) (psuedo-code) - checks that this value is set properly.
There are a number of tests like
rely
,deny
andfile
that are common across many contracts. We should add support for easily adding tests for these on any contract. Something like:assertAuth(myContract)
- this checks rely/denyassertFile(myContract, {what:"vow",selector:abi.encodeWithSelector(MyContract.vow.selector)})
(psuedo-code) - checks that this value is set properly.