Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4cfb0cf

Browse files
committed
Add link to Tag-annotation and tweak for consistency
1 parent 40badac commit 4cfb0cf

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docs/userguide/running-unit-tests.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,16 +284,14 @@ select * from table(ut.run('hr.test_apply_bonus', a_random_test_order_seed => 30
284284
285285
# Run by Tags
286286

287-
In addition to the path, you can filter the tests to be run by specifying tags. Tags are defined in the test with the `--%tags`-annotation.
287+
In addition to the path, you can filter the tests to be run by specifying tags. Tags are defined in the test with the `--%tags`-annotation ([Read more](annotations.md#tags)).
288288
Multiple tags are separated by comma. If multiple tags are set, all tests with __any__ of them specified are run.
289289

290-
Example Procedure:
291290
```sql
292291
begin
293292
ut.run('hr.test_apply_bonus', a_tags => 'test1,test2');
294293
end;
295294
```
296-
Example Function:
297295
```sql
298296
select * from table(ut.run('hr.test_apply_bonus', a_tags => 'suite1'))
299297
```

0 commit comments

Comments
 (0)