PetaTest is tiny but powerful, embeddable, dependency free Unit Testing framework for .NET and Mono.
C# HTML
Switch branches/tags
Nothing to show
Latest commit 1fcabd5 Sep 19, 2017 Brad Robinson Brad Robinson html preview
Permalink
Failed to load latest commit information.
Doc Docs Sep 19, 2017
PetaTest nuspec Apr 17, 2012
.gitignore Initial Jul 20, 2011
PetaTest.sln Initial Jul 20, 2011
README.markdown html preview Sep 19, 2017

README.markdown

PetaTest

A tiny unit testing thing for your peace of mind

PetaTest is tiny but powerful, embeddable, dependency free Unit Testing framework for .NET and Mono.

Features at a Glance

  • Tiny - a single C# file you can easily add to any project
  • Dependency Free - no other assemblies (other than what's in the GAC) or test runners required - it's all self contained
  • Fast - practically no overhead over the time of the tests themselves
  • Parameterized Tests - drive test inputs with attributes, or generate them in code
  • Active Tests - using attributes, mark any test as active and all others will be ignored - great during development and debugging when you just want to run one test
  • Assertions - most of the usual suspects, easily extensible
  • Stack Trace - as you'd expect
  • Source Code Extracts - see the exact line of code that threw the exception in the report
  • Setup and TearDown - for test cases and test fixtures
  • Text Output - writes directly to console output, or
  • HTML Output - can generate a nice self-contained single file HTML report
  • Sort of compatible with NUnit's assertion model (but not constraints)

More Information