nokia / kong-oidc

OIDC plugin for Kong
Apache License 2.0
457 stars 324 forks source link

Set plugin priority to 1000. Added injecting authenticated_consumer t… #4

Closed Trojan295 closed 7 years ago

Trojan295 commented 7 years ago

…o request context

phirvone commented 7 years ago

It would be really nice to see (unit) tests verifying the changes.

Trojan295 commented 7 years ago

It's hard to make unit test for Kong plugins, but I developed a workflow using https://github.com/Mashape/kong-vagrant.

With this environment you can easily make integrations tests and check, if a plugins work like expected with Kong.

We could also try to integrate testing with Travis CI. I have some experience working with it on an other open source project and this looks as a good idea for me. You can create a issue for this Travis CI and assign this to me. I will check, how to make testing with Travis.