This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Flutter.
Summary
Settings for flutter test.
Run Flutter unit tests for the current project..
- Assembly
- Cake
.Flutter .dll - Namespace
- Cake
.Flutter - Base Types
-
- ToolSettings
- AutoToolSettings
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 |
---|---|
Compiler |
Constructors
Name | Summary |
---|---|
FlutterTestSettings |
Properties
Name | Value | Summary |
---|---|---|
Concurrency | Nullable |
-j, --concurrency=<jobs> The number of concurrent test processes to run. (defaults to "6")
|
Coverage | Nullable |
--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 |
-h, --help Print this usage information.
|
MergeCoverage | Nullable |
--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 |
--[no-]pub Whether to run "flutter packages get" before executing this command. (defaults to on)
|
StartPaused | Nullable |
--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 |
Suppress analytics reporting when this command runs.
Inherited from AutoToolSettings
|
UpdateGoldens | Nullable |
--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 |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|