Custom Testcases
We provide you with the option to specify your own test cases for any functions. This helps:
- teams following Test Driven Development
- developers having complex functions in their codebase with quirky cases.
- or to limit the scope of testing of a certain function.
One can specify these cases in natural language with
@Testcases
annotation@Welltested()
class Auth {
@Testcases(['Throws exception when email is empty'])
Future<User> logInUser() {...}
}
Last modified 3mo ago