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
Ask the user whether they want to create a unit test. Use this prompt:
262
+
```
263
+
Do you also want to create a unit test for this parser?
264
+
```
260
265
261
266
Create a unit test for the new parser. Testing instructions: [testing-parsers](./references/testing-parsers.md).
262
267
263
-
### Step 5 - Run parser tests
268
+
### Step 5 - Run parser tests (optional)
269
+
270
+
This step applies only if Step 4 was not skipped.
271
+
272
+
Ask the user whether they want to run the unit tests. Use this prompt:
273
+
```
274
+
We use Docker Compose to run containerized SC4S and Splunk instances for running unit tests. If you do not have Docker Compose or do not want to run the unit tests, skip this step.
275
+
```
264
276
265
-
Run the new test using `poetry run pytest test-name -v -s --tb=short -n=0` command and verify the parser works correctly.
277
+
Run the new test using `poetry run pytest test-name -v -s --tb=short -n=0 -k 'not lite and not name_cache'` and verify the parser works correctly.
0 commit comments