testilo 12.3.0 → 12.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -196,6 +196,8 @@ Testilo classifies issues. The built-in issue classifications are located in the
|
|
|
196
196
|
|
|
197
197
|
If you want Testaro to test targets for particular issues, you can name those issues and use the Testilo `script` module to create a script.
|
|
198
198
|
|
|
199
|
+
If you want Testaro to test targets for **all** the rules of all the available tools, without regard to any issue classification, you can use the `script` module to create a script that does not impose any issue restrictions.
|
|
200
|
+
|
|
199
201
|
#### Invocation
|
|
200
202
|
|
|
201
203
|
There are two ways to use the `script` module.
|
|
@@ -216,6 +218,13 @@ This invocation references `scriptID`, `issueClasses`, and `issueID` variables.
|
|
|
216
218
|
|
|
217
219
|
The `script()` function of the `script` module generates a script and returns it as an object. The invoking module can further dispose of the script as needed.
|
|
218
220
|
|
|
221
|
+
To create a script without issue restrictions, a module can use this invocation:
|
|
222
|
+
|
|
223
|
+
```javaScript
|
|
224
|
+
const {script} = require('testilo/script');
|
|
225
|
+
const scriptObj = script(scriptID);
|
|
226
|
+
```
|
|
227
|
+
|
|
219
228
|
##### By a user
|
|
220
229
|
|
|
221
230
|
A user can invoke `script` in this way: In the Testilo project directory, execute the statement `node call script s c i0 i1 i2 i3 …`.
|
|
@@ -229,6 +238,8 @@ The `call` module will retrieve the named classification from its directory.
|
|
|
229
238
|
The `script` module will create a script.
|
|
230
239
|
The `call` module will save the script as a JSON file in the `scripts` subdirectory of the `process.env.SPECDIR` directory.
|
|
231
240
|
|
|
241
|
+
To create a script without any issue restrictions, a user can execute the statement `node call script s`.
|
|
242
|
+
|
|
232
243
|
#### Options
|
|
233
244
|
|
|
234
245
|
When the `script` module creates a script for you, it does not ask you for all of the options that the script may require. Instead, it chooses options. After you invoke `script`, you can edit the script that it creates to revise options.
|