This inspection notifies you about mismatch of a value in the test data of a parameterized test and the type of the corresponding parameter in the test method.
In the example below, the first two arguments from and to of the Range attribute are compatible with the parameter type int, but the value of the third argument step, makes the resulting test values incompatible with int:
[Test]publicvoidMyTest(// The type 'double' provided in [Range]// is not compatible with the test parameter type 'int'[Range(1,10,0.2)]int x){// do something}
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions. Learn more.
With your consent, JetBrains may also use cookies and your IP address to collect individual statistics and provide you with personalized offers and ads subject to the Privacy Notice and the Terms of Use. JetBrains may use third-party services for this purpose. You can adjust or withdraw your consent at any time by visiting the Opt-Out page.