Skip to content

Simulator for testing WFA certification devices, simulates WFA WTS.

Notifications You must be signed in to change notification settings

krish2718/wfa-wts-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WFA WTS simulator

crates.io license build status

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

Install Rust using rustup from here. This will install rustc and cargo on your system.

Build (using cargo)

Use the following command to build the project

    $ cargo build --release

Usage

$ ./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

Unit tests and coverage

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.

Known issues

None

About

Simulator for testing WFA certification devices, simulates WFA WTS.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages