Skip to content

Add error scenarios to dedicated network test definitions - #177

Merged
tlohmar merged 14 commits into
camaraproject:mainfrom
jimfengjinhua:fix/issue165-test-definitions
Sep 10, 2026
Merged

tlohmar merged 14 commits into
camaraproject:mainfrom
jimfengjinhua:fix/issue165-test-definitions

Conversation

@jimfengjinhua

@jimfengjinhua jimfengjinhua commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

What type of PR is this?

Add one of the following kinds:

  • tests

What this PR does / why we need it:

Add error scenarios covering the documented 4xx responses for the networks, areas and profiles APIs, asserting both the HTTP status and the $.code value of each documented error.

Addresses #165 for three of the four APIs. Error scenarios for dedicated-network-accesses.feature follow separately.

Which issue(s) this PR fixes:

Addresses #165 (networks, areas and profiles).

Special notes for reviewers:

dedicated-network-accesses.feature error scenarios will follow in a separate PR,
so this does not fully close #165.

Changelog input

Adding error scenarios according to CAMARA testing guideline to networks, profiles and areas APIs

Additional documentation

This section can be blank.

docs

Add Gherkin error scenarios covering the documented 4xx responses for the
networks, areas and profiles APIs, asserting both the HTTP status and the
$.code value of each documented error.

Addresses camaraproject#165 for three of the four APIs.
Error scenarios for dedicated-network-accesses.feature follow separately.

Co-Authored-By: Jim Feng <jim.feng@ericsson.com>
Comment thread code/Test_definitions/dedicated-network-areas.feature Outdated
Comment thread code/Test_definitions/dedicated-network-areas.feature Outdated
Comment thread code/Test_definitions/dedicated-network-areas.feature Outdated
Comment thread code/Test_definitions/dedicated-network-profiles.feature Outdated
Comment thread code/Test_definitions/dedicated-network.feature Outdated
Comment thread code/Test_definitions/dedicated-network.feature Outdated
tlohmar
tlohmar previously approved these changes Sep 7, 2026

@tlohmar tlohmar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, also the 422 EC on createNetwork is captured

Brings in the sunny day test definitions merged via PR camaraproject#178 so this
branch is up to date with main. No conflicts: the success scenarios
added on main and the error scenarios added here touch disjoint
regions of the three feature files.
Drops a trailing blank line at the end of both files and a double blank
line after the retrieveNetworkServiceAreas error section banner, so the
banner spacing matches the networks file. Whitespace only - the non-blank
content of both files is unchanged.

@tlohmar tlohmar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating to be against latest main.

@tlohmar
tlohmar merged commit b2c4573 into camaraproject:main Sep 10, 2026
2 checks passed
@jimfengjinhua
jimfengjinhua deleted the fix/issue165-test-definitions branch September 15, 2026 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Test definitions] Three of the four APIs have no error scenarios

2 participants