FlutterTestSettings Class

Summary

Settings for flutter test. Run Flutter unit tests for the current project..
Assembly
Cake.Flutter.dll
Namespace
Cake.Flutter
Base Types
graph BT Type-->Base0["AutoToolSettings"] click Base0 "/api/Cake.Flutter/AutoToolSettings" Base0-->Base1["ToolSettings"] Type["FlutterTestSettings"] class Type type-node

Syntax

public sealed class FlutterTestSettings : AutoToolSettings

Attributes

Type Description
CompilerGeneratedAttribute

Constructors

Name Summary
FlutterTestSettings()

Properties

Name Value Summary
Concurrency Nullable<int>
-j, --concurrency=<jobs> The number of concurrent test processes to run. (defaults to "6")
Coverage Nullable<bool>
--coverage Whether to collect coverage information.
CoveragePath DirectoryPath
--coverage-path Where to store coverage information (if coverage is enabled). (defaults to "coverage/lcov.info")
DeviceId string
Target device id or name (prefixes allowed).
Inherited from AutoToolSettings
Help Nullable<bool>
-h, --help Print this usage information.
MergeCoverage Nullable<bool>
--merge-coverage Whether to merge coverage data with "coverage/lcov.base.info". Implies collecting coverage data. (Requires lcov)
Name string
--name=<regexp> A regular expression matching substrings of the names of tests to run.
Packages FilePath
Path to your ".packages" file. (required, since the current directory does not contain a ".packages" file)
Inherited from AutoToolSettings
PlainName string
--plain-name=<substring> A plain-text substring of the names of tests to run.
Pub Nullable<bool>
--[no-]pub Whether to run "flutter packages get" before executing this command. (defaults to on)
StartPaused Nullable<bool>
--start-paused Start in a paused mode and wait for a debugger to connect. You must specify a single test file to run, explicitly. Instructions for connecting with a debugger and printed to the console once the test has started.
SuppressAnalytics Nullable<bool>
Suppress analytics reporting when this command runs.
Inherited from AutoToolSettings
UpdateGoldens Nullable<bool>
--update-goldens Whether matchesGoldenFile() calls within your test methods should update the golden files rather than test for an existing match.

Extension Methods

Name Value Summary
Dump<FlutterTestSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<FlutterTestSettings>(FlutterTestSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<FlutterTestSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<FlutterTestSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<FlutterTestSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<FlutterTestSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin