@ni/jasmine-parameterized 0.2.0 → 0.2.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 +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,12 +13,14 @@ The `@ni/jasmine-parameterized` library provides utility functions for writing [
|
|
|
13
13
|
2. Use `parameterizeSpec` to write strictly-typed jasmine tests that run for different test scenarios, where each test can be focused or excluded as needed by name.
|
|
14
14
|
|
|
15
15
|
### `parameterizeSpec`
|
|
16
|
+
|
|
16
17
|
Use `parameterizeSpec` to create a parameterized test using an array of tests with names.
|
|
17
18
|
|
|
18
19
|
In the following example:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
|
|
21
|
+
- the test named `cats-and-dogs` is focused for debugging
|
|
22
|
+
- the test named `frogs` is configured to always be disabled
|
|
23
|
+
- the test named `men` will run normally as it has no override
|
|
22
24
|
|
|
23
25
|
```ts
|
|
24
26
|
import { parameterizeSpec } from '@ni/jasmine-parameterized';
|