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

Add Additional testing on functionality of the Bandit tool #1005

Open
OClark23 opened this issue Mar 27, 2023 · 0 comments
Open

Add Additional testing on functionality of the Bandit tool #1005

OClark23 opened this issue Mar 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@OClark23
Copy link

Is your feature request related to a problem? Please describe.
test_no_new_candidates().
To improve the functional test suite, you can add additional test cases for the remaining functionality of the Bandit tool. Here are some suggestions for additional test cases

Describe alternatives you've considered
Considering all of these test cases id like to implement:

  • Test, when there are new candidates, found compared with those in the baseline. This should return the new candidate details along with the candidates from the baseline.

  • Test when a candidate has a # nosec comment added and that candidate was previously flagged as an issue in the baseline. This should not return that candidate in the results.

  • Test when a candidate has been fixed in the code and should no longer be flagged as an issue in the baseline. This should not return that candidate in the results.

Additional context
To implement these changes, you can add additional test methods to the BaselineFunctionalTests class, similar to the existing test_no_new_candidates() method.

Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.

@OClark23 OClark23 added the enhancement New feature or request label Mar 27, 2023
@OClark23 OClark23 changed the title Addition on functionality of the Bandit tool Add Additional testing on functionality of the Bandit tool Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant