https://github.com/rexops/rex-integration-tests
New Repository for Rex integration tests
https://github.com/rexops/rex-integration-tests
Last synced: 10 months ago
JSON representation
New Repository for Rex integration tests
- Host: GitHub
- URL: https://github.com/rexops/rex-integration-tests
- Owner: RexOps
- Created: 2016-03-30T18:28:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-12-23T14:30:26.000Z (over 7 years ago)
- Last Synced: 2025-01-05T06:29:27.245Z (about 1 year ago)
- Language: Perl
- Size: 8.79 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rex Integration Tests
This repository is currently work-in-progress.
We are currently moving the tests from *rex-build* repository to this repository and trying to streamline them so that they can be run with the common perl testing tools.
## Running Tests
You can define some environment variables to control to which system the tests should connect to. In this early stage of development only password authentication is supported.
### Environment variables
* REX_TEST_HOST - The host which should be used to run the tests on
* REX_TEST_USER - The user which should be used to login (for ex.: root or if you want to run sudo tests some other user)
* REX_TEST_PASSWORD - The password to use to connect to the host
* REX_TEST_SUDO - Whether to use sudo or not. If you want to use sudo set it to `1`
* REX_TEST_SUDO_PASSWORD - If rex needs to provide a password for sudo set it with this variable
```
$ export REX_TEST_HOST=some-host-name
$ export REX_TEST_USER=user-to-use
$ export REX_TEST_PASSWORD=password-to-use
$ export REX_TEST_SUDO=1
$ export REX_TEST_SUDO_PASSWORD=sudo-password-to-use
$ prove -r tests
```