it function

  1. @isTest
void it(
  1. Object description,
  2. void body()
)

Creates a new test case with the given description (converted to a string) and body. These are like "test" in flutter_test.

Implementation

@isTest
void it(Object description, void Function() body) {
  test(description, body);
}