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

ANDI Integration Test Improvement #1253

Open
1 task
christinepoydence opened this issue Jun 9, 2021 · 0 comments
Open
1 task

ANDI Integration Test Improvement #1253

christinepoydence opened this issue Jun 9, 2021 · 0 comments

Comments

@christinepoydence
Copy link
Member

User Story

As a Smart City Developer
I want to increase the reliability of the ANDI integration tests
So that I have higher confidence in the application's behavior when deploying.

Acceptance Criteria:

  • Solve the issue with intermittent failures in the ANDI integration test suite so that the integration tests reliably pass when pull requests are created if there are no defects in the application.

Tech Notes:

There are a few possible ways to improve the reliability of the test suite. These should be discussed during refinement so that the team can decide which approach to take:

  • Approach #1: Be more conscious of the test pyramid when writing new tests. Existing tests should be reviewed to determine if they are appropriately written as integration tests or if they should be re-written as unit tests.
  • Approach #2: Add retries that automatically retry the tests in the case of common test-related failures. (This would involve a more consistent use of the 'eventually' function that already exists in the project.)
  • Approach #3: Track the integration test failures over time and determine if a pattern emerges in the intermittent failures. If it is just a small subset of the tests that fail intermittently, troubleshoot and resolve those individually. (Solutions can include fixing the test, covering the logic at a different level of the test pyramid, or evaluating the cost-benefit of the test and potentially removing it entirely.) If it’s a truly intermittent situation where a large number of tests fail every once and a while- look at data setup and configuration.

Amigos:

@kMaiSmith
@LtChae
@narruda789
@srashee1
@bmitchinson
@kcarra

@christinepoydence christinepoydence added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Jun 9, 2021
@ksmith-accenture ksmith-accenture added dev On Hold Assigned to cards who were originally under the column titled 'On Hold' and removed On Hold Assigned to cards who were originally under the column titled 'On Hold' labels Jul 9, 2021
@ksmith-accenture ksmith-accenture added tech debt and removed enhancement New feature or request labels Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants