You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #98
Add unit tests for various components and create a PR gate.
* **Unit Tests:**
- Add `tests/test_storage_service.py` with unit tests for `StorageService` class.
- Add `tests/test_zap_scanner.py` with unit tests for `ZapScanner` class.
- Add `tests/test_nexpose_scanner.py` with unit tests for `NexposeScanner` class.
- Add `tests/test_openvas_scanner.py` with unit tests for `OpenVASScanner` class.
- Add `tests/test_main.py` with unit tests for `main.py`.
- Add `tests/test_scanner.py` with unit tests for `Scanner` class.
- Add `tests/test_init.py` with unit tests for `__init__.py`.
* **GitHub Actions Workflow:**
- Add `.github/workflows/test.yml` to run unit tests on PRs.
- Set up Python environment using `actions/setup-python`.
- Check out the repository using `actions/checkout`.
- Install dependencies using `pip`.
- Run unit tests using `pytest`.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/vs4vijay/ScanMaster/issues/98?shareId=XXXX-XXXX-XXXX-XXXX).
Generate Unit Tests for this code and make PR Gate
The text was updated successfully, but these errors were encountered: