To ensure developers put into the right place the Async annotation.
Here are some examples:
// Bad
[Async]
function myTest () {
// ...
};
// Bad
[Fact, Async]
function myTest () {
// ...
};
// Good
[Fact, Async]
function myTest (callback) {
// ...
};
callbackParameterName
will be used (when defined) to put a convention on the test function parameter name (Default''
).
Examples of correct code for the default { "callbackParameterName": { "myCallback" } }
option:
[Fact, Async]
function myTest(myCallback) {
// ...
};