Getting Started
Installation
Installation
Introduction
Skyramp gives you a comprehensive solution for testing of modern, distributed software applications. The following components are needed to get started:
The Skyramp Client helps you quickly generate the tests you need.
The Skyramp Worker is responsible for executing tests and mocking services.
The Skyramp Python Library facilitates communcation between the Skyramp Client and Worker.
Install Skyramp Client
Install the Skyramp terminal client with a single command:
Follow the step-by-step instructions in the terminal to complete the installation process.
Check Installation
Verify your Skyramp installation by running:
Refer to the CLI Commands for a comprehensive list of available commands.
Uninstalling the Skyramp Client
To uninstall Skyramp, run:
Install Skyramp Python Library
Install the Skyramp Python library via pip:
To ensure Skyramp works as intended, we automatically install the following dependencies if version requirements are unmet. If you would like to prevent this, please use the following command:
Required Dependencies
PyYAML [required: >=6.0.0]
Robotframework [required: >=4.1.2]
Typing_extensions [required: >=4.9.0]
Install Skyramp Worker
The Skyramp Worker serves as the foundation for executing tests and mocking services.
Using Docker Compose
Ensure Docker Compose is installed, then add the following to your docker-compose.yaml
:
Deploy the Skyramp Worker:
Using Helm for Kubernetes
If Helm isn’t installed, refer to Helm’s documentation to get started.
Add Skyramp Helm Repo:
Update Repositories:
Install Worker Chart:
Replace
<namespace>
with the Kubernetes namespace where you want to deploy the Skyramp Worker chart. You can choose an existing namespace or create a new one.Replace
<release-name>
with a name for this Helm release. A release is a unique instance of a Helm chart installation.
Installing Worker with Python Modules (Optional)
To include additional Python modules in your Skyramp Worker:
Building the Worker Image with Python Modules
Create or modify a Dockerfile
:
This Dockerfile
uses the base Skyramp Worker image and copies your requirements.txt
file into it, then installs the Python modules specified in requirements.txt
.
Build the custom Worker image using the docker build
command. Replace <image-name>
with a suitable name for your custom image and <image-tag>
with the desired tag:
Use the Custom Worker Image
Deploy it using Docker Compose or Helm, replacing the image reference.
Supported Operating Systems
Mac OS X: 11.0 or later
Ubuntu: 18.04 or later
CentOS: 8.04 or later
Fedora: 36.0 or later
Windows Subsystem for Linux (WSL): 1
What’s Next
Now that you’ve installed Skyramp, proceed to the Writing Tests section to start using Skyramp’s programmatic test language.