Skip to content

NaNotest is a minimalistic testing framework for C focused on being lightweight and simple.

License

Notifications You must be signed in to change notification settings

0keeper1/nanotest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NaNotest

NaNotest is minimalistic unit testing framework for C, focused to be lightweight and simple.

Examples

  • Single test example
NANO_FUNCTION( test_sum, false, {
	int x;
	int y;

	x = sum(3, 4);
	y = sum(5, 2);
	
	NANO_ASSERT_EQ_INT( "cmp x and y", x, y, false );
})

NANO_MAIN( {
	NANO_SINGLE_TEST( test_sum );
} )

License

This library is published under MIT License.

About

NaNotest is a minimalistic testing framework for C focused on being lightweight and simple.

Topics

Resources

License

Stars

Watchers

Forks