RASCSI/test/robot/rascsi_service.robot
akuker 7c5b645c48
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>
2020-09-10 13:06:36 -05:00

26 lines
1008 B
Plaintext

*** 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