Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.4 KB

Readme.md

File metadata and controls

56 lines (39 loc) · 1.4 KB

Module :: wtest

experimental rust-status docs.rs Open in Gitpod discord

Tools for writing and running tests.

Sample

use wtest::*;

//

tests_impls!
{

  fn pass1()
  {
    assert_eq!( true, true );
  }

  //

  fn pass2()
  {
    assert_eq!( 1, 1 );
  }

}

//

tests_index!
{
  pass1,
  pass2,
}

To add to your project

cargo add wtest --dev

Try out from the repository

git clone https://github.com/Wandalen/wTools
cd wTools
cd sample/rust/test_trivial
cargo run