Skip to content

Comments

Ensure Findings are validated in Integration Tests (closes #546)#603

Merged
Weltraumschaf merged 12 commits intomainfrom
feature/validate-findings-integration-tests
Aug 31, 2021
Merged

Ensure Findings are validated in Integration Tests (closes #546)#603
Weltraumschaf merged 12 commits intomainfrom
feature/validate-findings-integration-tests

Conversation

@JohannesZahn
Copy link
Contributor

@JohannesZahn JohannesZahn commented Aug 20, 2021

Description

The recently introduced Finding Validation should also be applied in the integration tests.
This can simply be implemented by setting an environment variable which is evaluated in the parser sdk and makes the scanner crash if the findings are invalid.

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure npm test runs for the whole project.
  • Make codeclimate checks happy

@JohannesZahn JohannesZahn self-assigned this Aug 23, 2021
@JohannesZahn JohannesZahn added the testing Improvements or additions regarding the test setup label Aug 23, 2021
@JohannesZahn JohannesZahn marked this pull request as ready for review August 24, 2021 06:13
@JohannesZahn JohannesZahn changed the title Finding Validation in Integration Tests Finding are validation in Integration Tests Aug 24, 2021
@JohannesZahn JohannesZahn changed the title Finding are validation in Integration Tests Finding are validated in Integration Tests Aug 24, 2021
@JohannesZahn JohannesZahn requested a review from rfelber August 31, 2021 08:43
@rfelber rfelber linked an issue Aug 31, 2021 that may be closed by this pull request
Copy link
Member

@Weltraumschaf Weltraumschaf left a comment

Choose a reason for hiding this comment

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

LGTM

@Weltraumschaf Weltraumschaf merged commit e133586 into main Aug 31, 2021
@Weltraumschaf Weltraumschaf deleted the feature/validate-findings-integration-tests branch August 31, 2021 11:37
@rfelber rfelber linked an issue Aug 31, 2021 that may be closed by this pull request
@rfelber rfelber changed the title Finding are validated in Integration Tests Ensure Findings are validated in Integration Tests (closes #546) Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Improvements or additions regarding the test setup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Authenticated advanced ZAP scan fails in the Juice Shop demo Validate Findings in Integration Tests

2 participants