Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #98
Add unit tests for various components and create a PR gate.
Unit Tests:
tests/test_storage_service.py
with unit tests forStorageService
class.tests/test_zap_scanner.py
with unit tests forZapScanner
class.tests/test_nexpose_scanner.py
with unit tests forNexposeScanner
class.tests/test_openvas_scanner.py
with unit tests forOpenVASScanner
class.tests/test_main.py
with unit tests formain.py
.tests/test_scanner.py
with unit tests forScanner
class.tests/test_init.py
with unit tests for__init__.py
.GitHub Actions Workflow:
.github/workflows/test.yml
to run unit tests on PRs.actions/setup-python
.actions/checkout
.pip
.pytest
.For more details, open the Copilot Workspace session.