MatrixTest typedef

MatrixTest = Future<(int, String)> Function(GeneratedApp generated, MatrixApp app, List<MatrixAppTest> tests, {MatrixEnv? env})

Adds tests to generated, the app of the matrix app, with the values that they give it in the file of env, and runs them with flutter test, with the tool arguments of env; returns the exit code of the first command that fails and the output up to it, or 0 and the output of all.

Implementation

typedef MatrixTest = Future<(int, String)> Function(
  GeneratedApp generated,
  MatrixApp app,
  List<MatrixAppTest> tests, {
  MatrixEnv? env,
});