https://github.com/aurora-is-near/aurora-api-testing-rs
Rust client for testing Aurora Relayer APIs
https://github.com/aurora-is-near/aurora-api-testing-rs
Last synced: 19 days ago
JSON representation
Rust client for testing Aurora Relayer APIs
- Host: GitHub
- URL: https://github.com/aurora-is-near/aurora-api-testing-rs
- Owner: aurora-is-near
- License: cc0-1.0
- Created: 2022-10-28T04:52:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-28T17:25:35.000Z (9 months ago)
- Last Synced: 2025-04-14T08:18:14.851Z (7 months ago)
- Language: Rust
- Size: 3.49 MB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Relayer Tests (Rust)
[](https://github.com/aurora-is-near/aurora-api-testing-rs/actions/workflows/tests_on_schedule.yml)
This repo implements a Rust client for Aurora Relayer APIs testing. It fetches
test data generated by [relayer test data generator](https://github.com/aurora-is-near/relayer-test-data-generator), then it
wraps it up into multiple test runs. These test runs are used to
be re-executed against the target RPC endpoint (for example: AURORA testnet, or mainnet).
## Prerequisites
- Rust
- Cargo
Refer to this [official installation page](https://www.rust-lang.org/tools/install) for more information.
## Env variables
Before you use this repo, you must configure the following environment variables
```bash
RPC_URL="https://mainnet.aurora.dev:443/"
AURORA_PLUS_API_KEY=""
NETWORK_NAME="mainnet_aurora_plus"
```
The `AURORA_PLUS_API_KEY` is needed to execute some special test cases. If you don't have
one, please create a new account on [Aurora+](https://aurora.plus/).
## Tests
```bash
cargo test
```
### Run specific test
```bash
cargo test --test
```
### Styling
```bash
cargo fmt --all -- --check
```