https://github.com/redborder/redborder-serverspec-ips
Infrastructure integration testing for redborder-ips
https://github.com/redborder/redborder-serverspec-ips
redborder-ng testing
Last synced: 2 months ago
JSON representation
Infrastructure integration testing for redborder-ips
- Host: GitHub
- URL: https://github.com/redborder/redborder-serverspec-ips
- Owner: redBorder
- License: agpl-3.0
- Created: 2023-11-20T11:28:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-10-31T15:28:25.000Z (8 months ago)
- Last Synced: 2025-10-31T17:24:54.249Z (8 months ago)
- Topics: redborder-ng, testing
- Language: Ruby
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## redborder-serverspec-ips
Infrastructure integration testing for redborder-ips
## 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.30" 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
```