You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The current approach requires you to authenticate against the Restful endpoint, retrieve the JWT token and use that to invoke the actual test. Though this approach sounds fine in end-to-end tests, it slows the unit test feedback loop, while testing unrelated concerns along each test. Quarkus provides a separate package quarkus-test-security to disable security and allow configuration of the custom Security context. We should explore usage of this package to simplify current suite of unit tests.
Describe the solution you'd like
Use Quarkus Security test extension to simplify unit tests.
Is your feature request related to a problem? Please describe.
The current approach requires you to authenticate against the Restful endpoint, retrieve the JWT token and use that to invoke the actual test. Though this approach sounds fine in end-to-end tests, it slows the unit test feedback loop, while testing unrelated concerns along each test. Quarkus provides a separate package
quarkus-test-security
to disable security and allow configuration of the custom Security context. We should explore usage of this package to simplify current suite of unit tests.Describe the solution you'd like
Use Quarkus Security test extension to simplify unit tests.
Describe alternatives you've considered
N/A
Additional context
https://quarkus.io/guides/security-testing
The text was updated successfully, but these errors were encountered: