Skip to content

Commit a5dad63

Browse files
authored
PRO-16810: ProvarDX Incorrect Help messages (#23) (#24)
- Updated help messages for runtests, validate commands displayed on running `sfdx provar --help` - Updated company name in LICENSE.md
1 parent 421fcca commit a5dad63

8 files changed

Lines changed: 30 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.2] - 2020-08-04
9+
10+
### Changed
11+
12+
- Updated help messages for runtests, validate commands displayed on running `sfdx provar --help`
13+
- Updated company name in LICENSE.md
14+
815
## [0.2.1] - 2020-07-08
916

1017
### Fixed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020, ProvarTesting
1+
Copyright (c) 2020, Make Positive Provar Ltd
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ EXAMPLE
6565

6666
## `sfdx provar:metadatacache`
6767

68-
Command to pre-download any required metadata for a specified user or provar connections.
68+
Command to pre-download any required metadata for a specified user or provar connection
6969

7070
```
7171
USAGE
@@ -94,7 +94,7 @@ EXAMPLE
9494

9595
## `sfdx provar:runtests`
9696

97-
Runs the specified list of Provar test cases against the currently configured SFDX defaultuserrname
97+
Runs a specified list of Provar test cases against a specified DevHub user alias or username
9898

9999
```
100100
USAGE
@@ -136,7 +136,7 @@ EXAMPLE
136136

137137
## `sfdx provar:validate`
138138

139-
Validate the provardx property file agains standard JSON Schema
139+
Verify a property file to confirm it is a well formed provardx property file
140140

141141
```
142142
USAGE

messages/metadatacache.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commandDescription": "Command to pre-download any required metadata for a specified user or provar connections.",
2+
"commandDescription": "Command to pre-download any required metadata for a specified user or provar connection",
33
"metadataLevelFlagDescription": "Permitted values reload (get all metadata - default) | refresh (only download changes).",
44
"cachePathFlagDescription": "Relative or full file path for where the metadata cache will be stored.",
55
"propertyFileFlagDescription": "Specify custom property file.",

messages/runtests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commandDescription": "Runs the specified list of Provar test cases against the currently configured SFDX defaultuserrname",
2+
"commandDescription": "Runs a specified list of Provar test cases against a specified DevHub user alias or username",
33
"propertyFileFlagDescription": "provardx-properties.json file. If filepath specified the filename will be assumed or it can be specified (.e.g myprops.json). File must be in JSON format and conform to the provardx-properties JSON schema.",
44
"fileSpecFlagDescription": "Specify comma-delimited, ordered paths of test cases to be executed. If not provided all tests in the PROJECTPATH will be executed.",
55
"connectionOverridefile": "Connection file in the format provardx-connection-schema.json providing a mapping between the Provar project Connection names and the target users to be used.",

messages/validate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commandDescription": "Validate the provardx property file agains standard JSON Schema",
2+
"commandDescription": "Verify a property file to confirm it is a well formed provardx property file",
33
"propertyFileFlagDescription": "Specify custom property file.",
44
"showErrorsFlagDescription": "Allow to show validation errors. Default is false.",
55
"loglevelFlagDescription": "Allow to provide loglevels."

package.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@provartesting/provardx",
33
"description": "A plugin for the Salesforce CLI to run provar testcases",
4-
"version": "0.2.1",
4+
"version": "0.2.2",
55
"author": "Provar",
66
"bugs": "https://github.com/ProvarTesting/provardx/issues",
77
"dependencies": {
@@ -51,8 +51,20 @@
5151
"commands": "./lib/commands",
5252
"bin": "sfdx",
5353
"topics": {
54-
"hello": {
55-
"description": "Commands to say hello."
54+
"provar": {
55+
"description": "Developer tools for executing Provar tests from a command line and using Salesforce DevHub aliases"
56+
},
57+
"provar:compile": {
58+
"description": "Pre-compiles any /src PageObject or PageControl Java source files into object code to use in runtests"
59+
},
60+
"provar:metadacache": {
61+
"description": "Command to pre-download any required metadata for a specified user or provar connection"
62+
},
63+
"provar:runtests": {
64+
"description": "Runs a specified list of Provar test cases against a specified DevHub user alias or username"
65+
},
66+
"provar:validate": {
67+
"description": "Verify a property file to confirm it is a well formed provardx property file"
5668
}
5769
},
5870
"devPlugins": [

src/commands/provar/runtests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { cli } from 'cli-ux';
1313
import ProvarDXUtility from '../../utilities/ProvarDXUtility';
1414

1515
/**
16-
* Runs the specified list of Provar test cases against the currently configured SFDX defaultuserrname unless overridden
16+
* Runs a specified list of Provar test cases against a specified DevHub user alias or username unless overridden
1717
* in the command below or by a provardx-properties.json file
1818
* @author Himanshu Sharma
1919
*

0 commit comments

Comments
 (0)