An Ethereum implementation and tool suite designed for Solidity testing and development. The unit testing framework provides fast parallelized test execution, built-in code coverage reporting, strongly typed Contract interfaces with powerful code-completion, Solidity stacktraces for reverts and exceptions, breakpoint debugging and more.
Written completely in cross-platform C# with .NET Core. Meadow can be used in VS Code, Visual Studio, and JetBrains Rider.
Install .NET Core SDK v2.1.4 or higher, then run these commands in a new directory for your project:
dotnet new -i Meadow.ProjectTemplate dotnet new meadow
Open your project directory in VSCode or your favorite C# IDE.
Writing unit tests - getting started writing tests against Solidity contracts and generating code coverage reports.
Using the CLI - contract deployment and interaction against testnode or production.
Configuration - Specifying gas defaults, solc version, solc optimizer, accounts, RPC host, unit test parallelism, etc..
Usage examples; miscellaneous - ABI & RLP encoding, ECSign / ECRecover, testing reverts, etc..
Provides an intuitive framework for writing C# to perform contract deployments, transactions, function calls, RPC requests, and more. Solidity source files are automatically compiled and exposed as C# classes with all contract methods, events, and natspec documentation. Includes a personal Ethereum test node that automatically is setup during test executions.
Visibility into Solidity revert / exception call stacksBetter understanding and investigation of Solidity execution problems.
Solidity Coverage ReportsPerform thorough testing of Solidity codebases. Generate HTML and JSON code coverage reports showing .sol source code coverage for line, branch, and function execution.
Solidity debugger extension for Visual Studio Code supporting breakpoints, stepping, rewinding, call stacks, local & state variable inspection.
Library Description Meadow.EVM An Ethereum Virtual Machine that includes:contracts
directory are automatically compiled. Meadow.CoverageReport
Generates HTML and JSON code coverage reports for Solidity source files. Uses execution trace data from the EVM. Meadow.UnitTestTemplate
Test harness providing seamless integration between MSTest and Solidity contracts. Provides a simple workflow where Solidity source files are dropped into a unit test project and C# contract code is automatically generated. C# unit tests can easily deploy/call/transact with contracts. RPC test node servers & clients are automatically boostrapped and provided to unit tests. Code coverage reports are automatically generated after unit tests are ran. Meadow.Cli
Tool that allows contract deployments and interaction through the command line. Solidity source files are live-compiled using a file system watcher. Can be ran against a automatically bootstrapped test RPC node or an externally configured node. Leverages PowerShell Core to a provide cross platform REPL-like environment with powerful tab-completion when interacting with contracts. Meadow.Core
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4