Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@actualwave/traceability-matrices

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@actualwave/traceability-matrices - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc