-
Notifications
You must be signed in to change notification settings - Fork 83
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
Eradicate mediated connection from issuance and presentation integration tests, part 1 #967
Conversation
Codecov Report
@@ Coverage Diff @@
## main #967 +/- ##
==========================================
- Coverage 39.32% 35.13% -4.19%
==========================================
Files 414 413 -1
Lines 28863 27471 -1392
Branches 6183 5811 -372
==========================================
- Hits 11349 9653 -1696
- Misses 14175 14776 +601
+ Partials 3339 3042 -297
Flags with carried forward coverage won't be shown. Click here to find out more.
|
656633a
to
d80e73a
Compare
aa24274
to
e32fbd6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is amazing 🚀 Significant improvement in readability and mental overhead reading the tests, now that connections are gone.
Left some comments but generally ✅
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
…nection Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
…tion Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
…ncy_pool_real_proof) Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
…l_to_select_credentials_for_predicate Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
c61ef5e
to
b3e44e4
Compare
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
7985f3b
to
4998c35
Compare
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
No worries, mysql tests will be preserved to the extent they are useful, as discussed :)
I totally agree that this is the desired final state, pruning the current Alice and Faber just an intermediate step. They will next be merged into a unified test agent struct, followed by implementation of single-agent-methods and refactoring of currently so-called "scenarios". Another (probably less favorable) option would be to get rid of test agent representation altogether for now (perhaps keeping it just as a data structure holding profile equivalents and whatever handlers necessary for the test at hand), awaiting a "more final", generic agent implementation (i.e. useful outside of tests as well). |
Reduces the number of issuance and presentation integration tests relying on mediated connection to exchange messages instead of exchanging them directly between the SM handlers, with the goal of removing their dependency on agency client and MediatedConnection and eventually making the integration tests runnable without a mediator.
This change results in a minor test speedup, however the main bottleneck is schema / cred. def. creation, which can be mediated by sharing schemas / credential definitions between tests wherever possible.