Skip to content

Commit

Permalink
Add instructions to check if directory is included in recipe_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sawsa307 committed Nov 15, 2023
1 parent 1ca299e commit 79b057e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ To cleanup all tests separately, use the following command from test/:

## Adding a new recipe test

For a new recipe, in addition to its yaml file and REAME.md, it should also include a set of test files to make sure the recipe is functional and up-to-date. In the description section of the pull request, you should also provide the result of `make test` to show your test is passing and is not breaking other tests. See example in [output-example.txt](./test_example/output_example.txt).
For a new recipe, in addition to its yaml file and REAME.md, it should also include a set of test files to make sure the recipe is functional and up-to-date. In the description section of the pull request, you should also provide the result of `make test` to show your test is passing and is not breaking other tests. See example in [output-example.txt](./test-example/output-example.txt).
If you are the first one adding tests to a component directory, make sure the directory is included in the testFilePaths in [recipe_test.go](./recipe_test.go)

A recipe directory should have the following layout:
```
Expand Down

0 comments on commit 79b057e

Please sign in to comment.