Skip to content
This repository was archived by the owner on Sep 23, 2019. It is now read-only.

nweedon/Earl

Repository files navigation

Earl

  • Master: Build Status
  • Dev: Build Status Coverage Status

Earl is a Mocha-inspired testing framework for C++11, designed to make writing tests as easy as possible. Earl leverages the lambda functionality of C++11 to make tests as readable as possible.

####Compiler Compatibility (Automatically Tested)

  • Linux on Travis-CI: g++ 4.6, clang++ 3.4 (requires libc++)

####Compiler Compatibility (Manually Tested)

  • Ubuntu: g++ 4.6.3, clang++ 3.4 (requires libc++)
  • Windows (Cygwin): g++ 4.8.3
  • Windows: Visual Studio 2012 Version 11.0.60315.01 Update 2

####Example

// Describe the set of tests to be run
Test::describe("Example", []() {
	// Test against one part of the specification
	Test::it("Should conform to mathematical principles", []() -> bool {
		return (0 == 0);
	});
});

For API information and more examples, please view the wiki!

About

A Mocha-inspired test framework for C++11

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages