An open API service indexing awesome lists of open source software.

https://github.com/redborder/redborder-serverspec-intrusion

Infrastructure integration testing for redborder-intrusion
https://github.com/redborder/redborder-serverspec-intrusion

redborder-ng testing

Last synced: 2 months ago
JSON representation

Infrastructure integration testing for redborder-intrusion

Awesome Lists containing this project

README

          

## redborder-serverspec-intrusion
Infrastructure integration testing for redborder-intrusion

## Installation
On your workstation, execute the following command in your terminal:
```
bundle install
```

## Running Tests
To run all tests, use the following command:
```
rake spec
```

Optional parameters:
* TARGET_HOST: Machine where the tests will run via SSH.
* LOGIN_USERNAME: Username for SSH connection to the test machine.
* LOGIN_PASSWORD: Password for SSH connection to the test machine.
Example with optional parameters:
```
TARGET_HOST="10.0.209.31" LOGIN_USERNAME="root" LOGIN_PASSWORD="redborder" rake spec
```

To run a specific test type, use the following command:
```
rake spec:configuration
```

To run a specific test in a spec file, better use tags:
```
rspec --tag tag_name
```

List of Available Rake Tasks:
To view the list of available Rake tasks, use the following command:
```
rake -T
```

Tag a describe to run by specific command ie:
```
describe ("Any test for this"), :tagname do
```