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
- Host: GitHub
- URL: https://github.com/redborder/redborder-serverspec-intrusion
- Owner: redBorder
- License: agpl-3.0
- Created: 2025-04-30T14:54:30.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-10-31T15:29:09.000Z (8 months ago)
- Last Synced: 2025-10-31T17:25:00.749Z (8 months ago)
- Topics: redborder-ng, testing
- Language: Ruby
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```