Created an initial suite of tests to make sure that the RaSCSI is working properly (#33)

* First cut of very simple robot tests

* Remove log files and change test to use rascsi host name instead of hard-coded IP

* Added more keywords

* Added tests to check the reported SCSI vendor, revision, model and type

* Moved the Linux (host) utilities to a different file

* Added cdrom tests

* Added cdrom tests

* Finished up cd-rom tests. All tests pass, except for Anex86 drive

Co-authored-by: akuker <akuker@gmail.com>
This commit is contained in:
akuker
2020-09-10 13:06:36 -05:00
committed by GitHub
parent f357c0296a
commit 7c5b645c48
7 changed files with 546 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
*** Settings ***
Documentation Test that the RaSCSI service can be started and stopped.
Library OperatingSystem
Resource Resources/rascsi_utils.resource
Resource Resources/linux_services.resource
Suite Setup Open Connection to Rascsi and Log In
Suite Teardown Close All Connections
*** Test Cases ***
RaSCSI Service Can be Started as a Service
[Documentation] Start the Rascsi service and make sure it stays running
When The Rascsi Service is Started
Then The RaSCSI Service Should be Running
RaSCSI Service Can be Stopped as a Service
[Documentation] Stop the Rascsi service and make sure it stays stopped
When the Rascsi Service is Stopped
Then the RaSCSI Service should be Stopped
RaSCSI Service Can be Restarted as a Service
[Documentation] Restart the Rascsi service and make sure it stays running
Given The RaSCSI Service is Started
When The Rascsi Service is Restarted
Then the Rascsi Service should be Running