Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/PaulRBerg/btt-examples

Examples for Branching Tree Technique, a simple specification framework for writing structured Solidity tests
https://github.com/PaulRBerg/btt-examples

Last synced: about 4 hours ago
JSON representation

Examples for Branching Tree Technique, a simple specification framework for writing structured Solidity tests

Awesome Lists containing this project

README

        

# BTT Examples

A collection of examples for [Branching Tree Technique](https://twitter.com/PaulRBerg/status/1682346315806539776), which
is a simple specification framework for writing structured Solidity tests.

The first step is to define a tree structure in a `.tree` file. Then, use
[Bulloak](https://github.com/alexfertel/bulloak) to scaffold a skeleton Solidity file. Finally, write your tests.

## VSCode

The following VSCode extensions are not essential but they are recommended for a better user experience:

- [Tree](https://marketplace.visualstudio.com/items?itemName=CTC.vscode-tree-extension): syntax highlighting for `.tree`
files
- [Ascii Tree Generator](https://marketplace.visualstudio.com/items?itemName=aprilandjan.ascii-tree-generator):
convenient way to generate ASCII trees

## Other Examples

BTT in the wild:

- Sablier [V2 Core](https://github.com/sablier-labs/v2-core)
- Sablier [V2 Periphery](https://github.com/sablier-labs/v2-periphery)

## License

This project is licensed under MIT.