cargo ux test

This is a Draft Version

Runs unit tests in a project.

cargo ux test <project> [options]
cargo ux t <project> [options]

Description

Takes the name of the project, as specified in the projects section of the ux.yaml workspace configuration file. When a project name is not supplied, it will execute for all projects.

Arguments

ArgumentDescriptionValue Type
projectThe name of the project to build. Can be an application or a library.string

Options

OptionDescriptionValue TypeDefault Value
--browsersOverride which browsers tests are run against.string
--code-coverageOutput a code coverage report.booleanfalse
--code-coverage-excludeGlobs to exclude from code coverage.array
--configurationOne or more named builder configurations as a comma-separated list as specified in the "configurations" section of ux.yaml. The builder uses the named configurations to run the given target. For more information, see https://angular-rust.github.io/guide/workspace-config#alternate-build-configurations. Setting this explicitly overrides the "--prod" flag. Aliases: -cstring
--helpShows a help message for this command in the console.true|false|jsonfalse
--includeGlobs of files to include, relative to workspace or project root. There are 2 special cases: - when a path to directory is provided, all spec files ending ".spec. @(ts|tsx)" will be included - when a path to a file is provided, and a matching spec file exists it will be included insteadarray
--karma-configThe name of the Karma configuration file.string
--mainThe name of the main entry-point file.string
--pollEnable and define the file watching poll time period in milliseconds.number
--polyfillsThe name of the polyfills file.string
--preserve-symlinksDo not use the real path when resolving modules. If unset then will default to true if NodeJS option --preserve-symlinks is set.boolean
--prodShorthand for "--configuration=production". Set the build configuration to the production target. By default, the production target is set up in the workspace configuration such that all builds make use of bundling, limited tree-shaking, and also limited dead code elimination.boolean
--progressLog progress to the console while building.booleantrue
--reportersKarma reporters to use. Directly passed to the karma runner.array
--source-mapOutput source maps for scripts and styles. For more information, see https://angular-rust.github.io/guide/workspace-config#source-map-configuration.booleantrue
--watchRun build when files change.boolean