Skip to content

Commit

Permalink
Added more info about tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrinc committed Aug 2, 2022
1 parent 892bb7a commit 37ed116
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,16 @@ http:
servers:
- url: http://127.0.0.1:5000
```
# Testing
[https://github.com/BetterCorp/cloudflarewarp/tree/master/test](https://github.com/BetterCorp/cloudflarewarp/tree/master/test)
We have written the following tests in this repo:
- golang linting
- yaegi tests (validate configuration matches what Traefik expects)
- General GO code coverage
- Virtual implementation tests (spin up traefik with yml/toml tests to make sure the plugin actually works)
- Live implementation tests (spin up traefik with the plugin definition as it would be for you, and run the same tests again)
These tests allow us to make sure the plugin is always functional with Traefik and Traefik version updates.

0 comments on commit 37ed116

Please sign in to comment.