5 releases

0.1.2 Jun 18, 2022
0.1.0 Jan 10, 2022
0.0.3 Dec 7, 2021
0.0.2 Nov 29, 2021
0.0.0 Nov 29, 2021

#53 in #general-purpose

Download history 2/week @ 2024-07-27 3/week @ 2024-09-21 4/week @ 2024-09-28

2,179 downloads per month

MIT license

1MB
23K SLoC

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

Dependencies

~6–13MB
~201K SLoC