Skip to main content

Used to auto-generate unit tests for smart contracts using the Forge framework.

Project description

Olympix Test Generator

Olympix Test Generator is a Python package designed to assist with the generation of unit tests for Solidity smart contracts. These unit tests are specifically designed to be ran through Foundry, a tool for writing unit tests in Solidity.

Installation

You can install Olympix Test Generator using pip:

pip install olympix-test-generator

Usage

The package includes a command-line interface for generating tests.

Before running the script, make sure to set the OLYMPIX_API_KEY environment variable in your system.

To generate a test, run:

olympix generate

The tool will guide you through the process of generating the test.

Project Structure

The project includes the following Python files:

  • client.py: The main script for interacting with the Olympix DevSecTools API. It includes an interactive command-line interface.

Dependencies

This project's dependencies are specified in the requirements.txt file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

olympix-test-generator-1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

olympix_test_generator-1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file olympix-test-generator-1.1.tar.gz.

File metadata

  • Download URL: olympix-test-generator-1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for olympix-test-generator-1.1.tar.gz
Algorithm Hash digest
SHA256 b6ff3da653cebc0d78b096757d2e697e55a1bd96609e4c8f93b0f71a576bb4b9
MD5 52dd77df9500ebf12dd9f060c0b81876
BLAKE2b-256 8ff4fc4bfce5c787bfa03b731523049f6b61b33a9bbd5c7d1c8d3b691a8b5873

See more details on using hashes here.

File details

Details for the file olympix_test_generator-1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for olympix_test_generator-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f8f4da38aa4b654d8c326bd038951e5d508a51aa1a6d00613cc2586bfbf7dd2
MD5 8e13fddb47ecf3f003a670c402166be4
BLAKE2b-256 38ecf381fa4522326dc14651c86be7bbf7e89434ede44748faf09ff9ec9bb3d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page