Crates.io | wfa-wts-sim |
lib.rs | wfa-wts-sim |
version | 0.1.0 |
source | src |
created_at | 2023-05-31 19:31:50.922038 |
updated_at | 2023-05-31 19:31:50.922038 |
description | A tool for simulating the WFA WTS for testing WFA devices (Testbed and DUT) |
homepage | |
repository | |
max_upload_size | |
id | 879083 |
size | 34,580 |
WTS simulator for unit test CA + DUT by running individual command through an interactive shell.
This is written in Rust and uses cargo as the build system.
Install Rust using rustup
from here. This will install rustc
and cargo
on your system.
Use the following command to build the project
$ cargo build --release
$ ./target/release/wfa-wts-sim -h
IP address and port of CA
Usage: wfa-wts-sim --ca <CA> --port <PORT>
Options:
-c, --ca <CA>
-p, --port <PORT>
-f, --cmd-file <CMD_FILE>
-h, --help Print help
This application has few unit tests. To run the unit tests, use the following command
$ cargo test
Code coverage is generated using cargo-llvm-cov
crate.
After running the unit tests, the code coverage report can be generated using the following command
$ cargo test
$ cargo llvm-cov
$ cargo llvm-cov --open
See Usage for more details.
None