test_tools 0.17.0

Tools for writing and running tests.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Smoke testing of the crate.

#[ cfg( feature = "enabled" ) ]
#[ cfg(not(feature = "no_std")) ]
#[ test ]
fn local_smoke_test() -> Result< (), Box< dyn core ::error ::Error > > 
{
  ::test_tools ::test ::smoke_test ::smoke_test_for_local_run()
}

#[ cfg( feature = "enabled" ) ]
#[ cfg(not(feature = "no_std")) ]
#[ test ]
fn published_smoke_test() -> Result< (), Box< dyn core ::error ::Error > > 
{
  ::test_tools ::test ::smoke_test ::smoke_test_for_published_run()
}