-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revisit Application Connector tests #13977
Comments
This testing strategy draft documentation might be somehow relevant. |
I have updated the test cases - with the modularization on the horizon we want to make sure that tests for the Application Connector module are separated. |
Gateway Tests PR: #1450 |
The test project will be comprised of three test-suites:
The following requirements were defined for the test project structure:
|
The general idea for testing Application Gateway is as follows:
Additional requirements:
Idea: test app could be a part of the test binary. It simplifies setup and allows to avoid the need for synchronising test and test app startup. |
The general test-cases to cover in Application Gateway test-suite:
|
Authorisation methods supported by Application Gateway:
In addition the following may be added by Application Gateway:
Note: mind that for CSRF the same authorisation method is used for target API and CSRF token endpoint. |
Work plan:
|
@VOID404, @mvshao please separate the following cases into linked GH issues:
You can also move the above comments from @akgalwas to those issues, and keep this one transparent as a collective epic for a new test suite for the whole area. 🙂 |
The Application Gateway tests are done, @janmedrek |
This issue or PR has been automatically marked as stale due to the lack of recent activity. This bot triages issues and PRs according to the following rules:
You can:
If you think that I work incorrectly, kindly raise an issue with the problem. /lifecycle stale |
Description
We need to provide a clear suite of tests that will go through all the functionalities that Application Connector presents.
Right now we have multiple tests that run through the same scenario and test the same code.
The desired state would be to have:
a FIT scenario that goes through the whole flow available without Compass and testing available Application Gateway auth methodscalled either from lambda via internal eventing (presents some coupling to the Serverless and Eventing area)called from within a cluster with regular calla FIT scenario that goes through Compass integration, tests the whole registration flow with Commerce Mock, sends an event through the mTLS gateway, and checks whether the external API of Commerce Mock can be called (make sure the cleanup is done properly in Compass)ad 1) we have multiple Octopus tests in Go that should be removed as they are no longer used (#13338)
ad 2) we need to clean up old prow pipelines (#11870)
Reasons
A clear test structure and responsibility division will reduce maintenance effort and provide better quality for the area. It will be transparent which components fail and which require some attention.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: