As per the title, which testing method is most correct for modifiers? Something like testing via inheritance and creating a function specifically designed to test modifiers or testing via a framework like truffle (or even something else)? Just trying to get a better idea of Solidity best practices. Thanks!
The test framework you choose shouldn't matter. We use
solidity-coverage to ensure test coverage. One example of a repo with 100% code coverage is https://github.com/JoinColony/colonySale
As an example for how modifiers are tested, see this
used on the
We test this one specifically via negative test cases, e.g. https://github.com/JoinColony/colonySale/blob/master/test/colony-token-sale.js#L215