res/when library

Functions

when(String description, dynamic body(), {dynamic before()?, dynamic after()?, dynamic skip}) → void
Creates a group of tests.
when2(String description, dynamic before()?, {required dynamic then(), dynamic after()?, bool skip = false}) → void
Alias for when; with slight alterations in the signature
whenn(String description, dynamic body(), {dynamic after()?, bool skip = false}) → void
Alias for when; with slight alterations in the signature