Skip to content
This repository has been archived by the owner on Nov 27, 2021. It is now read-only.

kurtosis-tech/kurtosis-testsuite-starter-pack

Repository files navigation

DEPRECATION NOTICE: This repo is now deprecated because Kurtosis no longer has a custom testing framework, and can instead use any preexisting testing framework (e.g. Jest, Mocha, etc.)

Kurtosis Testsuite Starter Pack

This repo contains:

  1. Example testsuites in each language that Kurtosis supports
  2. A bootstrap.sh script for creating your own testsuite in your language of choice

This repo is for users already familiar with Kurtosis. Brand-new users should go through the onboarding experience rather than using this repo.

Bootstrapping A Testsuite

Prerequisites:

Bootstrap steps:

  1. Clone this repo's master branch (the command can be copied by hovering and clicking the clipboard icon in the top-right):
    repo_name="kurtosis-testsuite-starter-pack"
    destination="/tmp/${repo_name}"
    git clone --single-branch --branch master "https://github.com/kurtosis-tech/${repo_name}.git" "${destination}"
    cd "${destination}"
    
  2. Run the following bootstrap command to see the helptext instructions that the bootstrapping script accepts:
    bootstrap/bootstrap.sh
    
  3. Run the bootstrap script again with arguments appropriate to the testsuite you'd like to bootstrap, and follow the onscreen instructions
  4. If you see error messages after running your new testsuite, check out the guide for debugging failed tests which contains solutions to common issues. If this still doesn't resolve your issue, feel free to ask for help in the Kurtosis Discord server
  5. If all tests are passing, you can proceed to customizing your testsuite.