Skip to content
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

[TESTING] Integration Tests Policy Store (Unhappy Path) #519

Closed
7 tasks done
mkanal opened this issue Apr 4, 2024 · 8 comments
Closed
7 tasks done

[TESTING] Integration Tests Policy Store (Unhappy Path) #519

mkanal opened this issue Apr 4, 2024 · 8 comments
Assignees
Labels
policy_store Issues regarding the IRS policy store. spill_over Issues which are not finished yet testing all testing related topics

Comments

@mkanal
Copy link
Contributor

mkanal commented Apr 4, 2024

As product
I want automatically executed integration tests for policy store covering although the unhappy path
so that we are informed about regression errors at the earliest stage, and we have a high level of confidence in the application

Links

Hints / Details

Acceptance Criteria

  • Integration tests (Cucumber or Tavern) covering policy store unhappy path executed in Ci/CD pipeline before PR is merged
  • Test covers journey
    • Registration of policy with no validUntil > Should fail
    • Registration of policy for invalid BPN "BPNACB", "ERRRES", "DELETE * FROM Table" > Should fail
    • Registration of policy with no payload (poilicy) should fail
  • Registration of BPNA and BPNS number fails
    • Validation failes for BPNA and BPNS number

Out of Scope

  • ...
@github-project-automation github-project-automation bot moved this to inbox in IRS Apr 4, 2024
@mkanal mkanal added the testing all testing related topics label Apr 9, 2024
@mkanal mkanal changed the title [TEST] Integration Tests Policy Store (Unhappy Path) [TESTING] Integration Tests Policy Store (Unhappy Path) Apr 9, 2024
@dsmf
Copy link
Contributor

dsmf commented Apr 24, 2024

also relates to #518

@mkanal mkanal added the policy_store Issues regarding the IRS policy store. label Apr 24, 2024
@dsmf
Copy link
Contributor

dsmf commented Apr 24, 2024

is blocked by #528

@dsmf
Copy link
Contributor

dsmf commented May 10, 2024

Outcome

Solved partly by #518 and #528 already.

Pull Request

@dsmf dsmf self-assigned this May 10, 2024
@dsmf dsmf moved this from backlog to wip in IRS May 10, 2024
@dsmf
Copy link
Contributor

dsmf commented May 11, 2024

ready for peer review

ds-jhartmann added a commit that referenced this issue May 13, 2024
ds-jhartmann added a commit that referenced this issue May 13, 2024
ds-jhartmann added a commit that referenced this issue May 13, 2024
@ds-jhartmann ds-jhartmann mentioned this issue May 13, 2024
2 tasks
@dsmf dsmf moved this from wip to test in IRS May 13, 2024
@dsmf
Copy link
Contributor

dsmf commented May 13, 2024

@mkanal, @ds-kgassner -> ready for test

@ds-kgassner
Copy link
Contributor

Registration of policy with no validUntil > Should fail: --> tested successfully
Registration of policy for invalid BPN "BPNACB", "ERRRES", "DELETE * FROM Table" --> tested successfully
Registration of BPNA and BPNS number fails: --> tested successfully
Registration of policy with no payload (poilicy) should fail: --> tested successfully
additionally: Fetching policies by BPNLs should fail for invalid BPNLs: --> tested successfully

approved from my side

@mkanal mkanal added the spill_over Issues which are not finished yet label May 14, 2024
@dsmf
Copy link
Contributor

dsmf commented May 14, 2024

@mkanal -> ready for PO review

@dsmf dsmf moved this from test to review in IRS May 14, 2024
@mkanal
Copy link
Contributor Author

mkanal commented Jun 5, 2024

LGFM: PO acceptance in behalf of @jzbmw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
policy_store Issues regarding the IRS policy store. spill_over Issues which are not finished yet testing all testing related topics
Projects
Status: done
Development

No branches or pull requests

3 participants