New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

testdx

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testdx

Generates beautiful reports from SF test runs

latest
Source
npmnpm
Version
0.3.2
Version published
Weekly downloads
18
200%
Maintainers
1
Weekly downloads
 
Created
Source

TestDX

Generates beautiful reports from SF test runs

Version

$ sfdx plugins:install testdx
$ sfdx testdx:COMMAND
running command...
USAGE
  $ sfdx testdx:COMMAND
...
  • testdx:apex:run - generates an HTML report from Apex test run
USAGE
  $ sfdx testdx:apex:run [-n <array> | -s <array> | -t <array>] [-d <directory>] [-l 
  RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests] [-w <minutes>] [-y] [-r human|tap|junit|json] [-u <string>] 
  [--apiversion <string>] [--verbose] [--json] [--loglevel 
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -d, --outputdir=outputdir                                                         directory to store test run files
  -l, --testlevel=(RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests)                testlevel enum value

  -n, --classnames=classnames                                                       comma-separated list of Apex test
                                                                                    class names to run

  -r, --resultformat=(human|tap|junit|json|html)                                    result format emitted to stdout;
                                                                                    --json flag overrides this parameter

  -s, --suitenames=suitenames                                                       comma-separated list of Apex test
                                                                                    suite names to run

  -t, --tests=tests                                                                 comma-separated list of Apex test
                                                                                    class names or IDs and, if
                                                                                    applicable, test methods to run

  -x, --exclude=tests                                                               comma-separated list of Apex test
                                                                                    class names to exclude from the run

  -u, --targetusername=targetusername                                               username or alias for the target
                                                                                    org; overrides default target org

  -w, --wait=wait                                                                   the streaming client socket timeout
                                                                                    (in minutes)

  -y, --synchronous                                                                 run tests from a single class
                                                                                    synchronously

  --apiversion=apiversion                                                           override the api version used for
                                                                                    api requests made by this command

  --json                                                                            format output as json

  --html                                                                            generate html report IN ADDITION to
                                                                                    whatever specified as resultformat

  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                    this command invocation

  --verbose                                                                         display Apex test processing details

DESCRIPTION
  To run specific test classes, specify class names or suite names, or set a --testlevel value.

  To run specific test methods, use --tests.

  Generates html report.

EXAMPLES
  $ sfdx testdx:apex:run -n MyClassTest,MyOtherClassTest
  $ sfdx testdx:apex:run -s MySuite,MyOtherSuite
  $ sfdx testdx:apex:run -t 
  MyClassTest.testCoolFeature,MyClassTest.testAwesomeFeature,AnotherClassTest,namespace.TheirClassTest.testThis
  $ sfdx testdx:apex:run -l RunLocalTests -u me@my.org

See code: src/commands/testdx/force/apex/run.ts

Keywords

sfdx-plugin

FAQs

Package last updated on 03 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts