celestiaorg / knuu-example

Example repository for the knuu Integration Test Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

knuu-example

This repository contains an example of how to use the knuu Integration Test Framework.

If you have feedback on the framework, want to report a bug or suggest an improvement, please create an issue in the knuu repository.

Setup

  1. Install Docker.

  2. Set up access to a Kubernetes cluster using your kubeconfig and create the test namespace.

Note: The used namespace can be changed by setting the KNUU_NAMESPACE environment variable.

Write Tests

You can find the relevant documentation in the pkg/knuu package at: https://pkg.go.dev/github.com/celestiaorg/knuu

Run

make test-all

Or run only the basic examples:

make test-basic

Or run BitTwister tests:

make test-bittwister-packetloss
make test-bittwister-bandwidth
make test-bittwister-latency
make test-bittwister-jitter

Or the celestia-app examples:

make test-celestia-app

Or the celestia-node examples:

make test-celestia-node

About

Example repository for the knuu Integration Test Framework

License:Apache License 2.0


Languages

Language:Go 98.1%Language:Shell 1.2%Language:Makefile 0.7%Language:HTML 0.0%