mirror of
https://github.com/thewesker/RASCSI.git
synced 2025-12-20 04:11:07 -05:00
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:
25
test/robot/rascsi_service.robot
Normal file
25
test/robot/rascsi_service.robot
Normal 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
|
||||
Reference in New Issue
Block a user