Skip to content

Commit

Permalink
Merge pull request #46 from kalikiana/add_warns_tests
Browse files Browse the repository at this point in the history
Document how to add warnings as well as unit tests
  • Loading branch information
okurz authored Oct 16, 2023
2 parents f524205 + d2c6dea commit a8c0237
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ A logwarn wrapper with openQA log specific rules.
* Call `logwarn_openqa`. By default it will read logs from
/var/log/openqa which is where openQA stores logs by default. You can pass
another path as the first argument.
* Extend the list of known warnings by adding arguments to the `logwarn`
call at the top of `logwarn_openqa`.

### Testing

* For testing you can execute `test_logwarn` directly or `prove test_logwarn`.
* You can add new cases by extending `in.log` as well as `test_logwarn`.

## Contribute

Expand Down

0 comments on commit a8c0237

Please sign in to comment.