Add more tests #17
Annotations
4 errors
Run rake test:foreman_cve_scanner:
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L8
Failure: test_0001_should identify as cve scan
Errno::ENOENT: No such file or directory @ rb_sysopen - /home/runner/work/foreman_cve_scanner/foreman_cve_scanner/foreman_cve_scanner/test/fixtures/grype-simple.json
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:8:in `read'
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:8:in `block in <class:CveReportScannerTest>'
|
Run rake test:foreman_cve_scanner:
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L20
Failure: test_0003_trivy scan has valid data
Errno::ENOENT: No such file or directory @ rb_sysopen - /home/runner/work/foreman_cve_scanner/foreman_cve_scanner/foreman_cve_scanner/test/fixtures/trivy-simple.json
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:20:in `read'
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:20:in `block in <class:CveReportScannerTest>'
|
Run rake test:foreman_cve_scanner:
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L32
Failure: test_0004_grype scan has valid data
Errno::ENOENT: No such file or directory @ rb_sysopen - /home/runner/work/foreman_cve_scanner/foreman_cve_scanner/foreman_cve_scanner/test/fixtures/grype-simple.json
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:32:in `read'
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:32:in `block in <class:CveReportScannerTest>'
|
Run rake test:foreman_cve_scanner
Process completed with exit code 1.
|
Loading