July 7, 2023 API Testing

 Date

Jul 7, 2023

 Participants

  • @Dominika Bieńkowska (Deactivated)

  • @Paweł Gesek

  • @Damian Borowiecki

  • @Aneta Pałczyńska (Deactivated)

  • @Łukasz Ruzicki

  • @Maciej Grochalski

  • @Satyajit Suri

  • @Sreepathy H Vardarajan

  • @Valeria Tafoya

  • Karim

  • @Steve Conrad

  • @Kibuuka, Arnold

  • @Benjamin Balder Bach

  • @PSRAMKUMAR

  •  

 Goals

  • Discussing priorities, backlog refinement and other topics related to API Testing group

 Discussion topics

Item

Who

Discussion

Item

Who

Discussion

Updates

@Dominika Bieńkowska (Deactivated)

Further priorities

@Dominika Bieńkowska (Deactivated)

Changes in APIs - how it should be addressed

@Steve Conrad

  • There are some changes to BB APIs

  • Two topics to discuss on this one:

    • What should the process be when the spec is changed?

      • Any API changes have to be communicated

        • An API should happen as a PR and that should be the only way for all the changes to the API

          • All other actions needs to be taken in order to approve and merge this PR, like tests changes, mocks changes

          • Maybe we could use the CODEOWNERS feature on GitHub to mark ownership of the api/ folder?

        • As a next step we should have Payments BB to create a PR with all the API changes @Kibuuka, Arnold

        • Proposal re: Karim's note: In order to work on both API v 1.x and v2.x at the same time,  we need long-lived release branches in Git, rather than just a "main" branch.

      • What if there is a change in tests but not a change in APIs?

        • If new tests are added, the compliance level might drop

        • It’s also important to define how do we want to communicate changes in tests

        • It

      • Is it possible to add automation?

    • Versioning - how exactly we want to do that?

      • Do we want tests to be a part of specifications?

        • Patch releases could be a good idea once the tests are changed

        • @Steve Conrad will add this topic as agenda item to the TC

      • Add version branches to github?

      • We would need some examples to see how this process could look like

      • The testing app would need to be able to navigate through different branches

      • Steve

        • 2 possibilities:

          • Create folders for specific versions

          • Different versions are stored in permanent git branches

          I think the second would be preferable if the testing app is able to read from different git branches. We'd also need to be able to tag some branches as ones we want to run tests against

      • @Paweł Gesek and @Damian Borowiecki will prepare a proposal for this and we will discuss it during TC

Emulators

@Benjamin Balder Bach

  • Decision: Emulator solutions live in BB repositories in examples/ folder and have same entrypoint and Docker Compose setup

    • Benefits: Aligns with BB release cycles, automated testing, avoids fragmentation between Sandbox team and individual BB WGs

Real testing strategy and separation of responsibility for integration testing, calls to sandboxed BBs,

Mocks vs Emulators (ready to use products like Mocoon vs Emulator implementation,

deployability in sandbox)

@Vasil Kolev

  • @Benjamin Balder Bach proposal to forward to TC:

    • High-level goal: Reuse sandbox emulation for future integration testing and vice versa

    • Decision: Emulator solutions live in BB repositories in examples/ folder and have same entrypoint and Docker Compose setup

      • Benefits: Aligns with BB release cycles, automated testing, avoids fragmentation between Sandbox team and individual BB WGs

    • Consent BB can function as a POC

    • Testing team facilitates that any necessary parameters for “test_entrypoint.sh” are added for Sandbox use cases

    • Need to solve terminology challenge: “examples/mock” doesn’t seem viable for the long-term. Could be “examples/mock-static“ or “examples/mock-simple“ + “examples/mock-advanced“?

UI redirects - BB Identity

@Paweł Gesek

  •  

Mock application demo

@Benjamin Balder Bach

  •  

AOB

 

  •  

 Action items

Action Items

Responsible party

Date

Action Items

Responsible party

Date

 

 

 

 

Meeting recording