@actualwave/traceability-matrices
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "@actualwave/traceability-matrices", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"types": "cypress.d.ts", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -137,3 +137,11 @@ # @actualwave/traceability-matrices | ||
``` | ||
`createProject(projectTitle: string, projectDescription?: string)` accepts project title and optionally description. Project titles must be unique strings. Project description could be an HTML string, it will display on top of project coverage table and is suitable for placing various project links and other useful information. | ||
```ts | ||
import { createProject } from "@actualwave/traceability-matrices/cypress"; | ||
const project = createProject("My Project", ` | ||
<h1>Useful information</1> | ||
<a href="https://react.dev/">Learn React</a>`); | ||
``` | ||
Created `project` provides methods to match test specs with project requriements and genrates test records that will be stored in a JSON file once test run is finished. | ||
@@ -154,2 +162,3 @@ | ||
``` | ||
> Note: To properly match requirement string with project structure requirement must be a unique string within its project. | ||
@@ -240,2 +249,4 @@ After running this test, coverage will contain a record that spec `should do something according to requirement #1` tests `requirement #1` requirement. One spec may contain multiple requriements and traces could contain expectations or be nested. | ||
> Note: Categories(branches, not leaf nodes) in such structure could contain HTML markup. Using HTML markup in requirement string is also possible, it will be properly rendered but might be uncomfortable to use in test specs. | ||
### project.requirement() | ||
@@ -242,0 +253,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60166
325