Releases: PosInformatique/PosInformatique.Moq.Analyzers
Releases · PosInformatique/PosInformatique.Moq.Analyzers
v1.3.0
v1.2.0
Add the following rules:
- PosInfoMoq2001: The
Setup()
method must be used only on overridable members. (fixes #4). - PosInfoMoq2002:
Mock<T>
class can be used only to mock non-sealed class.
v1.1.0
Initial version with following rules:
- PosInfoMoq2000: The
Returns()
orReturnsAsync()
methods must be call for Strict mocks.
v1.0.0
Initial version with following rules:
- MQ1000:
Verify()
andVerifyAll()
methods should be called when instantiate aMock<T>
instances - MQ1001: The `Mock instance behavior should be defined to Strict mode.