Skip to content

Commit

Permalink
Add @Rene2mt's feedback about testing one constraint by ID
Browse files Browse the repository at this point in the history
Clearly this guy constraints!

Co-authored-by: Rene Tshiteya <[email protected]>
  • Loading branch information
aj-stein-gsa and Rene2mt authored Sep 10, 2024
1 parent e4623ad commit 5ab9c40
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/validations/constraints/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ cd src/validations/constraints
npm test
```

## How do I run the tests for a specific constraint?

To run tests for a specific constraint or a selection of several constraints, you can use `npm run` as follows.

```sh
cd path/to/fedramp-automation
# to test a constraint with the ID <my-constraint-id>
npm run constraint <my-constraint-id>

# to get a list of one or more constraints to select for testing
npm run constraint
## How do I add a constraint and test?

You can add a constraint and test to this repository by following these high-level steps.
Expand Down

0 comments on commit 5ab9c40

Please sign in to comment.