You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ For operational installation of LDDTool, see the deployed documentation for inst
26
26
27
27
28
28
### Development
29
+
29
30
For development installation, use maven:
30
31
31
32
```console
@@ -39,6 +40,34 @@ $ # To view generated docs
39
40
$ open target/staging/model/index.html
40
41
```
41
42
43
+
### Testing
44
+
45
+
Tests are ran using Cucumber and Maven.
46
+
47
+
#### Running Tests
48
+
49
+
```bash
50
+
# Package the software
51
+
mvn clean package
52
+
53
+
# Run Cucumber tests
54
+
mvn clean test
55
+
```
56
+
57
+
#### Adding New Tests
58
+
59
+
To add additional tests:
60
+
61
+
- Create a directory within the [resources](model-lddtool/src/test/resources) directory and place your test data there
62
+
- In either the [developer](model-lddtool/src/test/resources/features/developer.feature) or [integration](model-lddtool/src/test/resources/features/integration.feature) feature file, add your test case to the table under `Examples`. For example,
The Planetary Data System's Engineering Node uses [detect-secrets](https://github.com/Yelp/detect-secrets), specifically a version forked by the [SLIM Team](https://nasa-ammos.github.io/slim/), called [slim-detect-secrets](https://github.com/NASA-AMMOS/slim-detect-secrets/tree/exp). This tool replaces Git Secrets but serves the same purpose: it helps prevent committing information to a repository that should remain secret. Unlike Git Secrets, though, the kinds of secrets detect-secrets finds includes not just passwords or API keys, but also hostnames and email addresses. It also uses entropy analysis to detect randomized strings that could be passwords.
52
82
53
83
To install, [see the wiki](https://github.com/NASA-PDS/nasa-pds.github.io/wiki/Git-and-Github-Guide#detect-secrets). To update a new `.secrets.baseline` file, run the custom script in the repo to generate the secrets. https://github.com/NASA-PDS/pds4-information-model/tree/main/bin. This is needed because there are numerous additional files that should be ignored in this repo.
0 commit comments