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

fix(Test Coverage): Improve test coverage of 2 core files #691

Merged
merged 5 commits into from
May 11, 2022
Merged

Conversation

biffgaut
Copy link
Contributor

Issue #, if available:
closes #690

Description of changes:
Added additional tests for both modules to improve line coverage to >90%
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: githubautobuild-for-cdk-v2
  • Commit ID: a87231c
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: githubautobuild-for-cdk-v1
  • Commit ID: a87231c
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: githubautobuild-for-cdk-v2
  • Commit ID: ef42ea5
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: githubautobuild-for-cdk-v1
  • Commit ID: ef42ea5
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

@mickychetta mickychetta left a comment

Choose a reason for hiding this comment

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

Confusing behavior around deadLetterQueue prop, add more functional tests for DLQ to confirm proper creation/instantiation of queues:

    // Determine whether a DLQ property should be added
    if (props.deadLetterQueue) {
      queueProps.deadLetterQueue = props.deadLetterQueue;
    }

Comment on lines +95 to +97
const returnedQueueu = defaults.buildDeadLetterQueue(stack, buildDlqProps);

expect(returnedQueueu).toBeUndefined();
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor, queue typo

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: githubautobuild-for-cdk-v2
  • Commit ID: 8071e0a
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: githubautobuild-for-cdk-v1
  • Commit ID: 8071e0a
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: githubautobuild-for-cdk-v2
  • Commit ID: b02489c
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: githubautobuild-for-cdk-v1
  • Commit ID: b02489c
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@biffgaut biffgaut merged commit 0ea1743 into main May 11, 2022
@biffgaut biffgaut deleted the Issue690 branch May 11, 2022 17:06
biffgaut added a commit that referenced this pull request May 13, 2022
* chore(release): 2.7.0

* chore(changelog): Updated CHANGELOG.v2.md

* feat(aws-fargate-stepfunctions): new construct (#677)

* created README.md

* removed arn env var prop and fixed state machine doc comments

* made createCloudWatchAlarms prop optional

* created new construct

* fixed README typo

* refactored test to single concept design

* updated default for vpcProps

* Update copyright year to 2022 (#693)


Skipping review, only copyright messages have been changed.

* fix(Test Coverage): Improve test coverage of 2 core files (#691)

* Added additional tests

* More coverage based on review

* chore(Improve documentation): Environment Variable descriptions (#692)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update Environment Variable documenation/comments

* Results of self-review

* Response to review

* Review 2

* Review 3

* Update DESIGN_GUIDELINES.md

* Pin @types/prettier 2.6.0 til 2.6.1 issue resolved (#698)

No one is available to review and this is time sensitive. The nature of the change makes any review rather perfunctory as it a single line added to the package.json file

* chore(release): 1.155.0

* chore(changelog): Updated CHANGELOG.md

* chore(changelog): Updated CHANGELOG.md

* Refresh to accomodate CDK changes

* Align CDK V2 version

* Align CDK Versions

* Align CDK Versions

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>
biffgaut added a commit that referenced this pull request May 13, 2022
* chore(release): 2.7.0

* chore(changelog): Updated CHANGELOG.v2.md

* feat(aws-fargate-stepfunctions): new construct (#677)

* created README.md

* removed arn env var prop and fixed state machine doc comments

* made createCloudWatchAlarms prop optional

* created new construct

* fixed README typo

* refactored test to single concept design

* updated default for vpcProps

* Update copyright year to 2022 (#693)


Skipping review, only copyright messages have been changed.

* fix(Test Coverage): Improve test coverage of 2 core files (#691)

* Added additional tests

* More coverage based on review

* chore(Improve documentation): Environment Variable descriptions (#692)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update Environment Variable documenation/comments

* Results of self-review

* Response to review

* Review 2

* Review 3

* Update DESIGN_GUIDELINES.md

* Pin @types/prettier 2.6.0 til 2.6.1 issue resolved (#698)

No one is available to review and this is time sensitive. The nature of the change makes any review rather perfunctory as it a single line added to the package.json file

* chore(release): 1.155.0

* chore(changelog): Updated CHANGELOG.md

* chore(changelog): Updated CHANGELOG.md

* Refresh to accomodate CDK changes

* Align CDK V2 version

* Align CDK Versions

* Align CDK Versions

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>
biffgaut added a commit that referenced this pull request May 14, 2022
* chore(release): 2.7.0

* chore(changelog): Updated CHANGELOG.v2.md

* feat(aws-fargate-stepfunctions): new construct (#677)

* created README.md

* removed arn env var prop and fixed state machine doc comments

* made createCloudWatchAlarms prop optional

* created new construct

* fixed README typo

* refactored test to single concept design

* updated default for vpcProps

* Update copyright year to 2022 (#693)


Skipping review, only copyright messages have been changed.

* fix(Test Coverage): Improve test coverage of 2 core files (#691)

* Added additional tests

* More coverage based on review

* chore(Improve documentation): Environment Variable descriptions (#692)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update Environment Variable documenation/comments

* Results of self-review

* Response to review

* Review 2

* Review 3

* Update DESIGN_GUIDELINES.md

* Pin @types/prettier 2.6.0 til 2.6.1 issue resolved (#698)

No one is available to review and this is time sensitive. The nature of the change makes any review rather perfunctory as it a single line added to the package.json file

* chore(release): 1.155.0 (#699) (#701)

* chore(release): 2.7.0

* chore(changelog): Updated CHANGELOG.v2.md

* feat(aws-fargate-stepfunctions): new construct (#677)

* created README.md

* removed arn env var prop and fixed state machine doc comments

* made createCloudWatchAlarms prop optional

* created new construct

* fixed README typo

* refactored test to single concept design

* updated default for vpcProps

* Update copyright year to 2022 (#693)


Skipping review, only copyright messages have been changed.

* fix(Test Coverage): Improve test coverage of 2 core files (#691)

* Added additional tests

* More coverage based on review

* chore(Improve documentation): Environment Variable descriptions (#692)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update Environment Variable documenation/comments

* Results of self-review

* Response to review

* Review 2

* Review 3

* Update DESIGN_GUIDELINES.md

* Pin @types/prettier 2.6.0 til 2.6.1 issue resolved (#698)

No one is available to review and this is time sensitive. The nature of the change makes any review rather perfunctory as it a single line added to the package.json file

* chore(release): 1.155.0

* chore(changelog): Updated CHANGELOG.md

* chore(changelog): Updated CHANGELOG.md

* Refresh to accomodate CDK changes

* Align CDK V2 version

* Align CDK Versions

* Align CDK Versions

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>

* Expedited update to address @types/prettier versioning issue.

* chore(release): 1.156.0

* chore(changelog): Updated CHANGELOG.md

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>
biffgaut added a commit that referenced this pull request May 14, 2022
* chore(release): 1.155.0 (#699)

* chore(release): 2.7.0

* chore(changelog): Updated CHANGELOG.v2.md

* feat(aws-fargate-stepfunctions): new construct (#677)

* created README.md

* removed arn env var prop and fixed state machine doc comments

* made createCloudWatchAlarms prop optional

* created new construct

* fixed README typo

* refactored test to single concept design

* updated default for vpcProps

* Update copyright year to 2022 (#693)


Skipping review, only copyright messages have been changed.

* fix(Test Coverage): Improve test coverage of 2 core files (#691)

* Added additional tests

* More coverage based on review

* chore(Improve documentation): Environment Variable descriptions (#692)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update Environment Variable documenation/comments

* Results of self-review

* Response to review

* Review 2

* Review 3

* Update DESIGN_GUIDELINES.md

* Pin @types/prettier 2.6.0 til 2.6.1 issue resolved (#698)

No one is available to review and this is time sensitive. The nature of the change makes any review rather perfunctory as it a single line added to the package.json file

* chore(release): 1.155.0

* chore(changelog): Updated CHANGELOG.md

* chore(changelog): Updated CHANGELOG.md

* Refresh to accomodate CDK changes

* Align CDK V2 version

* Align CDK Versions

* Align CDK Versions

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>

* chore(release): 1.156.0 (#704)

* chore(release): 2.7.0

* chore(changelog): Updated CHANGELOG.v2.md

* feat(aws-fargate-stepfunctions): new construct (#677)

* created README.md

* removed arn env var prop and fixed state machine doc comments

* made createCloudWatchAlarms prop optional

* created new construct

* fixed README typo

* refactored test to single concept design

* updated default for vpcProps

* Update copyright year to 2022 (#693)


Skipping review, only copyright messages have been changed.

* fix(Test Coverage): Improve test coverage of 2 core files (#691)

* Added additional tests

* More coverage based on review

* chore(Improve documentation): Environment Variable descriptions (#692)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update Environment Variable documenation/comments

* Results of self-review

* Response to review

* Review 2

* Review 3

* Update DESIGN_GUIDELINES.md

* Pin @types/prettier 2.6.0 til 2.6.1 issue resolved (#698)

No one is available to review and this is time sensitive. The nature of the change makes any review rather perfunctory as it a single line added to the package.json file

* chore(release): 1.155.0 (#699) (#701)

* chore(release): 2.7.0

* chore(changelog): Updated CHANGELOG.v2.md

* feat(aws-fargate-stepfunctions): new construct (#677)

* created README.md

* removed arn env var prop and fixed state machine doc comments

* made createCloudWatchAlarms prop optional

* created new construct

* fixed README typo

* refactored test to single concept design

* updated default for vpcProps

* Update copyright year to 2022 (#693)


Skipping review, only copyright messages have been changed.

* fix(Test Coverage): Improve test coverage of 2 core files (#691)

* Added additional tests

* More coverage based on review

* chore(Improve documentation): Environment Variable descriptions (#692)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update Environment Variable documenation/comments

* Results of self-review

* Response to review

* Review 2

* Review 3

* Update DESIGN_GUIDELINES.md

* Pin @types/prettier 2.6.0 til 2.6.1 issue resolved (#698)

No one is available to review and this is time sensitive. The nature of the change makes any review rather perfunctory as it a single line added to the package.json file

* chore(release): 1.155.0

* chore(changelog): Updated CHANGELOG.md

* chore(changelog): Updated CHANGELOG.md

* Refresh to accomodate CDK changes

* Align CDK V2 version

* Align CDK Versions

* Align CDK Versions

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>

* Expedited update to address @types/prettier versioning issue.

* chore(release): 1.156.0

* chore(changelog): Updated CHANGELOG.md

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>
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.

fix(Test Coverage): Improve test coverage of 2 core files
3 participants