Skip to content

Add sunny day test definitions for networks, areas and profiles APIs - #178

Merged
tlohmar merged 1 commit into
camaraproject:mainfrom
jimfengjinhua:fix/issue176-success-test-cases
Sep 10, 2026
Merged

tlohmar merged 1 commit into
camaraproject:mainfrom
jimfengjinhua:fix/issue176-success-test-cases

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:

Adds success ("sunny day") test definitions for documented API behaviour that
currently has no coverage in the feature files:

dedicated-network.feature

  • listNetworks_02_success_filtered_by_name — the name query parameter
  • listNetworks_03_success_pagination — perPage/page, the pagination
    object and the X-Total-Count / X-Total-Pages / Link response headers
  • createNetwork_03_success_with_qos_profile_name — the qosProfileName
    branch of the CreateNetwork oneOf, which was untested (only
    networkProfileId was covered)
  • createNetwork_04_success_with_name — the optional name property

dedicated-network-areas.feature

  • retrieveNetworkServiceAreas_09_success_filtered_by_several_properties_first_page
    — RetrieveServiceAreasRequest is documented as retrieving areas that match
    all the given properties, but every existing scenario passes a single filter
  • retrieveNetworkServiceAreas_10_success_pagination

dedicated-network-profiles.feature

  • readNetworkProfiles_02_success_filtered_by_name
  • readNetworkProfiles_03_success_pagination

Which issue(s) this PR fixes:

Adress #176

Special notes for reviewers:

Test definitions for the accesses API are deliberately out of scope, as that API is still under development.

Changelog input

Adding additional sunny day test definitions for networks, areas and profiles APIs, testing additional query parameter combinations and pagination

Additional documentation

This section can be blank.

docs

Adds success scenarios covering documented behaviour that had no test
coverage: name filtering and pagination for listNetworks and
readNetworkProfiles, pagination and combined (AND) filtering for
retrieveNetworkServiceAreas, and createNetwork via qosProfileName and
with the optional name property

@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. Good that we can also test pagination.

@tlohmar
tlohmar merged commit 2b869b8 into camaraproject:main Sep 10, 2026
2 checks passed
jimfengjinhua added a commit to jimfengjinhua/DedicatedNetworks that referenced this pull request Sep 10, 2026
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.
@jimfengjinhua
jimfengjinhua deleted the fix/issue176-success-test-cases 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.

2 participants