Logo
master

Introduction

  • Mavkit & Protocol overview
  • Installing Mavkit
  • Getting started with Mavkit
  • How to run Mavkit
  • Mavkit & Protocol versioning
  • BREAKING CHANGES

Mavkit User manual

  • Setting up the client
  • Setting up the node
  • Multi-signature smart contracts
  • FA1.2 support
  • Logging
  • Exit codes and signals

Mavkit Reference manual

  • Mavkit Software Architecture
  • The Mavkit Shell
  • Data Availability Committees
  • Data Availability Layer
  • Smart rollup node
  • P2P message format
  • Command Line Interface
  • Shell RPCs - Reference

Protocol Reference Manuals

  • Atlas Protocol Reference
  • Boreas Protocol Reference
  • Alpha Dev Protocol Reference

Mavryk developer Reference

  • JSON/RPC interface
  • RPC Errors
  • RPCs - OpenAPI reference

Changes in Mavkit releases

  • Release System
  • Version 19.1
  • Older Versions

Changes in protocol versions

  • Protocol versioning
  • Protocol Atlas
  • Protocol Boreas
  • Protocol Alpha
  • Older Protocols

Contributing

  • Contributing
  • Programming tutorials
  • Testing in Mavkit
    • Overview of Testing in Mavkit
    • Ppx_expect
    • Tezt: OCaml Mavryk Test Framework
    • Tezt: Long Tests and Performance Regression Test Framework
    • Alcotezt: An Alcotest Compatibility Wrapper for Tezt
    • Making legacy code unit-testable
    • How to Test a Protocol Proposal
  • Maintaining
  • Documenting
  • Platform Development tools
  • Encodings
  • Merkle Proof Encoding Formats
  • OCaml APIs - Reference
Mavryk
  • »
  • Testing in Mavkit
  • View page source

Testing in MavkitΒΆ

Testing is important to ensure the quality of the Mavkit codebase by detecting bugs and avoiding regressions. Mavkit and its components use a variety of tools and frameworks for testing.

This page groups the documentation helping developers to design, write, and execute tests on the Mavkit codebase. It covers different kinds of tests (Unit, Integration, etc.) and the associated tools and frameworks. It also includes tutorials for testing more specific parts such as protocol code.

  • Overview of Testing in Mavkit
    • Testing frameworks
    • Executing tests locally
    • Executing tests through the GitLab CI
    • Conventions
  • Ppx_expect
    • How to run tests
    • How to add tests
    • Where to put the tests
    • Integration with Lwt
  • Tezt: OCaml Mavryk Test Framework
    • How to Run Tests
    • How to Write New Integration Tests
    • How to Write New Unit Tests
    • Regression Tests
  • Tezt: Long Tests and Performance Regression Test Framework
    • Adding a Long Test
    • Performance Regression Test framework: Time Series, Alerts and Graphs
    • Example
    • Providing Large Data
    • Testing Your Benchmarks Locally
  • Alcotezt: An Alcotest Compatibility Wrapper for Tezt
    • Running Alcotezts
    • Notable Differences Between Alcotest and Alcotezt
  • Making legacy code unit-testable
    • Solutions
  • How to Test a Protocol Proposal
    • The master Branch
    • Unit Tests and Sandboxed Mode
    • Testing Migration Code
    • Migration Testing
    • Wrap up the Migration Procedure
    • Tips and Tricks
    • Anatomy of Migration Code
Next Previous

© Copyright 2018-2023, Nomadic Labs <[email protected]>.

Built with Sphinx using a theme provided by Read the Docs.