MatrixAppTest constructor

const MatrixAppTest(
  1. String directory, {
  2. required bool appliesTo(
    1. MatrixApp app
    ),
  3. List<String> devDependencies = const [],
  4. Map<String, String> values(
    1. MatrixApp app
    )?,
  5. Map<String, String> generatedFiles(
    1. MatrixApp app,
    2. String packageName
    )?,
  6. Set<Role<Object>> roles = const {},
  7. MatrixMocks? mocks,
  8. MatrixStartProbe? startProbe,
  9. bool readsStartProbes = false,
})

Creates the tests of the files in directory for the apps that appliesTo accepts.

Implementation

const MatrixAppTest(
  this.directory, {
  required this.appliesTo,
  this.devDependencies = const [],
  this.values,
  this.generatedFiles,
  this.roles = const {},
  this.mocks,
  this.startProbe,
  this.readsStartProbes = false,
});