Virus scanning rest api
This commit is contained in:
parent
e061bcc1fb
commit
3e087ebb07
7 changed files with 100 additions and 14 deletions
11
tests/features/virus-scan.feature
Normal file
11
tests/features/virus-scan.feature
Normal file
|
@ -0,0 +1,11 @@
|
|||
Feature: testing virus scanning through rest API
|
||||
|
||||
Scenario Outline: scan files for viruses
|
||||
Given I have a file with contents <content>
|
||||
When I scan the file for a virus
|
||||
Then I get a http status of <status>
|
||||
|
||||
Examples: virus_files
|
||||
| content | status |
|
||||
| "hello_world" | "200" |
|
||||
| "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" | "500" |
|
Loading…
Add table
Add a link
Reference in a new issue