Skip to content

Commit b529c88

Browse files
authored
Added brief docs about adding tests for issues (#36)
1 parent 03e4c27 commit b529c88

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Readme.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,16 @@ $finder->in('/foo/bar');
4242
//Start extractring files
4343
$sourceCollection = $extractor->extract($finder);
4444
```
45+
46+
## Found an issue?
47+
48+
Is it something we do not extract? Please add it as a tests. Add a new file with your example code in
49+
`tests/Resources/Github/Issue_XX.php` then edit the `AllExtracotrsTest` to make sure the translation
50+
key is found.
51+
52+
```php
53+
54+
// ...
55+
$this->translationExists($sc, 'trans.issue_xx');
56+
57+
```

0 commit comments

Comments
 (0)