Skip to content

Comments

[NDH-678] Improve Test Assertions for Organization Tests#375

Merged
spopelka-dsac merged 17 commits intomainfrom
NDH-678-improve-test-assertions-for-org-tests
Feb 9, 2026
Merged

[NDH-678] Improve Test Assertions for Organization Tests#375
spopelka-dsac merged 17 commits intomainfrom
NDH-678-improve-test-assertions-for-org-tests

Conversation

@IsaacMilarky
Copy link
Collaborator

[NDH-678] Improve Test Assertions for Organization Tests

Jira Ticket #NDH-678

Problem

Right now, the organization list tests only test whether results are returned, not whether the filters are properly filtering results.

Solution

Add to the tests to make sure that all the returned data matches the filter parameters provided. Also make sure that returned data doesn't return non-matching data.

Result

Summary:

  • Improve name filter to be more inclusive on searching name strings (i.e. 'ABC' matches all org names that contain 'ABC')
  • Make sure each test iterates through all values to check if they match filters
  • For address tests, use helper method to concat address string to see if it matches search.

IsaacMilarky and others added 3 commits January 28, 2026 15:02
Copy link
Contributor

@spopelka-dsac spopelka-dsac left a comment

Choose a reason for hiding this comment

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

A few minor tweaks

sachin-panayil and others added 5 commits February 3, 2026 15:58
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
@spopelka-dsac
Copy link
Contributor

@IsaacMilarky Looks like there are failing tests

@spopelka-dsac
Copy link
Contributor

@IsaacMilarky Now there are other failing tests

@spopelka-dsac spopelka-dsac enabled auto-merge (squash) February 9, 2026 16:43
auto-merge was automatically disabled February 9, 2026 19:13

Pull request was closed

@spopelka-dsac spopelka-dsac reopened this Feb 9, 2026
@spopelka-dsac spopelka-dsac enabled auto-merge (squash) February 9, 2026 19:29
auto-merge was automatically disabled February 9, 2026 19:30

Pull request was closed

@spopelka-dsac spopelka-dsac reopened this Feb 9, 2026
@spopelka-dsac spopelka-dsac reopened this Feb 9, 2026
Copy link
Contributor

@spopelka-dsac spopelka-dsac left a comment

Choose a reason for hiding this comment

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

merged some changes

@spopelka-dsac spopelka-dsac enabled auto-merge (squash) February 9, 2026 19:44
Signed-off-by: Isaac Milarsky <isaac.milarsky@hhs.cms.gov>
@spopelka-dsac spopelka-dsac merged commit 8f7146c into main Feb 9, 2026
12 checks passed
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.

4 participants