16 releases

0.1.14 Jul 17, 2022
0.1.12 Jul 15, 2022
0.1.10 Jun 28, 2022
0.1.4 May 9, 2022
0.0.3 Nov 29, 2021

#48 in #general-purpose

Download history 46/week @ 2024-09-18 87/week @ 2024-09-25 41/week @ 2024-10-02 14/week @ 2024-10-09 26/week @ 2024-10-16 33/week @ 2024-10-23 39/week @ 2024-10-30 17/week @ 2024-11-06 14/week @ 2024-11-13 33/week @ 2024-11-20 59/week @ 2024-11-27 70/week @ 2024-12-04 52/week @ 2024-12-11 22/week @ 2024-12-18 7/week @ 2024-12-25 10/week @ 2025-01-01

111 downloads per month
Used in 27 crates (2 directly)

MIT license

1MB
28K SLoC

Module :: wtest_basic

experimental rust-status docs.rs Open in Gitpod discord

Tools for writing and running tests. The most basic things.

Sample

use wtest_basic::*;

//

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_basic --dev

Try out from the repository

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

Dependencies

~4–12MB
~150K SLoC