testfx icon indicating copy to clipboard operation
testfx copied to clipboard

Improve error message when dynamic data is not static

Open Evangelink opened this issue 3 years ago • 0 comments

When using DynamicData if the target method/property is not marked as static the test message is not super helpful: Non-static method requires a target..

We can improve wording by either catching specific exception and adding some descriptive message like or by having more smaller try/catch scopes so that we can tell if exception happened when invoking data, invoking test...

Evangelink avatar Oct 13 '22 13:10 Evangelink