We currently refactoring unit test in every package of horusec, and we have a lot of code to cover. I'm opening this issue as a report and invite to community to contribute and improve our application. Currently i'm in start package refactor and we have some cases to cover and you can base on #701 to write your code
Update: Since #731 we moved flags constants to package testutil you should use them instead of the old way to write your code
Tests to be implemented of the start command:
Tests of the packages
We currently refactoring unit test in every package of horusec, and we have a lot of code to cover. I'm opening this issue as a report and invite to community to contribute and improve our application. Currently i'm in start package refactor and we have some cases to cover and you can base on #701 to write your code
Update: Since #731 we moved flags constants to package testutil you should use them instead of the old way to write your code
Tests to be implemented of the start command:
"--analysis-timeout""--authorization"--certificate-path""--container-bind-project-path""--disable-docker""--enable-commit-author""--enable-git-history""--enable-owasp-dependency-check""--enable-shellcheck""--false-positive""--headers""--horusec-url""--ignore""--ignore-severity""--information-severity""--insecure-skip-verify""--json-output-file""--monitor-retry-count""--output-format""--project-path""--repository-name""--request-timeout""--return-error""--risk-accept""--show-vulnerabilities-types"Tests of the packages