From aeb0ab6dd3cea5a368897298a485dc81afd0ee79 Mon Sep 17 00:00:00 2001 From: Aleksander Date: Fri, 3 May 2024 12:48:04 +0200 Subject: [PATCH] Add explicit note about package name suffix --- docs/content/policy-testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/policy-testing.md b/docs/content/policy-testing.md index 7a8dd838055..4d0daf3fe2e 100644 --- a/docs/content/policy-testing.md +++ b/docs/content/policy-testing.md @@ -119,7 +119,7 @@ FAIL: 1/4 ## Test Format Tests are expressed as standard Rego rules with a convention that the rule -name is prefixed with `test_`. +name is prefixed with `test_`. It is best practice for tests to be placed in a package suffixed with `_test`. ```live:example_format:module:read_only package mypackage_test