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 OPLYMPIX_API_KEY environment variable in a .env file located in the same directory.

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-0.4.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-0.4-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: olympix-test-generator-0.4.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-0.4.tar.gz
Algorithm Hash digest
SHA256 f88d8ca4baf620c918d3470b3df9979bddb93953162be3e6599fb3361ded2cd4
MD5 da2be757b7255f62583693c02ad821ff
BLAKE2b-256 e326755c75ae673d7e50ad5c56ca7455db0501f60ec37af29bd7baf69b7cf1ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for olympix_test_generator-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 42d4ce8a3cf27d4662e5caa5676488abbf4b54a2f4f79825a600a73b5ac1dc10
MD5 6d651b528849233488feeb9ae8f4d45a
BLAKE2b-256 2cf5177476f5ae32c8865bd1b37f8ee46f1c099bd57e83b9a31209ef8c826e3e

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