Files
breez-sdk-liquid/lib/core/DEVELOPMENT.md
Daniel Granhão f437c9194e Add regtest end-to-end tests (#816)
* Add regtest end-to-end tests

* Check that regtest environment is set up

* Add todo comment

* Add missing gloo-timers feature

* Link GH issues

* Update DEVELOPMENT.md

* Update boltz submodule

* Fix after rebase
2025-04-03 01:26:21 +01:00

42 lines
987 B
Markdown

# Development guide - Core crate
## Prerequisites
To compile the Core crate you will first need to install:
- [Protobuf](https://protobuf.dev/installation/)
- [Emscripten](https://emscripten.org/docs/getting_started/downloads.html) for compiling to Wasm
- [Firefox](https://mozilla.org/firefox/download/) for testing Wasm
```bash
brew install protobuf emscripten
```
On first usage you will need to run:
```bash
make init
```
## Testing
To run the regular test suite:
```bash
make test
```
This comprises the following make tasks:
```bash
make cargo-test wasm-test
```
### End-to-end tests
To run end-to-end tests, regtest has to be initialized. See [regtest/README.md](../../regtest/README.md) for prerequisites. Starting and stopping the regtest environment can be done using:
```bash
make regtest-start
make regtest-stop
```
To run the end-to-end tests:
```bash
make regtest-test
```
This comprises the following make tasks:
```bash
make cargo-regtest-test wasm-regtest-test
```