@brown-ds/distribution 0.0.45 → 0.0.46
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 +7 -22
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,30 +17,15 @@ There are several categories of tests:
|
|
|
17
17
|
* Scenario Tests (`*.scenario.js`)
|
|
18
18
|
* Extra Credit Tests (`*.extra.test.js`)
|
|
19
19
|
|
|
20
|
-
By default, tests excluding those with non-distribution in their names are run. Use the options below to control the test suite:
|
|
21
|
-
|
|
22
20
|
### Running Tests
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
3. Run extra credit tests:
|
|
33
|
-
```sh
|
|
34
|
-
$ npm test -- -ec
|
|
35
|
-
```
|
|
36
|
-
4. Run the `non-distribution` tests:
|
|
37
|
-
```sh
|
|
38
|
-
$ npm test -- -n
|
|
39
|
-
```
|
|
40
|
-
5. Combine options:
|
|
41
|
-
```sh
|
|
42
|
-
$ npm test -- -c -ec -n
|
|
43
|
-
```
|
|
22
|
+
By default, all regular tests are run. Use the options below to run different sets of tests:
|
|
23
|
+
|
|
24
|
+
1. Run all regular tests (default): `$ npm test` or `$ npm test -- -t`
|
|
25
|
+
2. Run scenario tests: `$ npm test -- -c`
|
|
26
|
+
3. Run extra credit tests: `$ npm test -- -ec`
|
|
27
|
+
4. Run the `non-distribution` tests: `$ npm test -- -nd`
|
|
28
|
+
5. Combine options: `$ npm test -- -c -ec -nd -t`
|
|
44
29
|
|
|
45
30
|
## Usage
|
|
46
31
|
|