pytruth - Assertion framework for Python unit tests

  •        25

Provides unittest assertions in a fluent style. Translated from the Java implementation, google/truth.PyTruth is licensed under the Apache 2.0 license.



Related Projects

Fluent Assertions

Fluent interface for writing .NET unit test assertions with more clarity than the traditional assertion syntax such as offered by MSTest, NUnit or XUnit.

truth - Assertion/Proposition framework for Java unit tests

Parent metdata for Truth, a pure-java, strongly typed testing proposition framework.


AxUnit is a Unit Testing framework for Microsoft Dynamics Ax (X++). It features a new assertion syntax with matchers and a complete mock object framework. Example: assert.that(actual, is.equalTo(expected));

Fluent Moq Builder

Gives a fluent interface to help with building complex mock objects with Moq, such as mocks of HttpContextBase for help in unit testing ASP.NET MVC.

mockery - Simplifying the use of mocks with Node.js

If you've tried working with mocks in Node.js, you've no doubt discovered that it's not so easy to get your mocks hooked up in the face of Node's module loading system. When your source-under-test pulls in its dependencies through require, you want your mocks provided, instead of the original module, to enable true unit testing of your code. This is exactly the problem Mockery is designed to solve. Mockery gives you a simple and easy to use API with which you can hook in your mocks without having to get your hands dirty with the require cache or other Node implementation details.

Legend Fakes - Fake it easy!

A dynamic fake framework. * Easier semantics, all fake objects are just that - fakes - the use of the fakes determines whether they're mocks or stubs. * Context aware fluent interface guides the developer. * Full VB.Net support.


SimpleMock is a mocking framework that is designed to be lightweight, simplistic, minimalistic, strongly typed and generally very easy to use via a Fluent API.

Fluent NHibernate - Fluent mapping for model

Fluent, XML-less, compile safe, automated, convention-based mappings for NHibernate. Fluent NHibernate offers an alternative to NHibernate's standard XML mapping files. Rather than writing XML documents, you write mappings in strongly typed C# code. This allows for easy refactoring, improved readability and more concise code.

Testify - A more pythonic testing framework.

PLEASE NOTE: Yelp is in the process of switching to py.test. We recommend you use it instead of Testify.Testify is a replacement for Python's unittest module and nose. It is modeled after unittest, and existing unittest classes are fully supported.

drakov - Mock Server that implements the API Blueprint specification

We have setup a google group to assist with the answering of questions any users of Drakov may have. Since version 1.0.2, a version of the Drafter package is being used, which attempts to install the version with C bindings (faster), but falls back if compilation of this package fails to Drafter.js.

mock-fs - Configurable mock for the fs module

The mock-fs module allows Node's built-in fs module to be backed temporarily by an in-memory, mock file system. This lets you run tests against a set of mock files and directories instead of lugging around a bunch of test fixtures. The code below makes it so the fs module is temporarily backed by a mock file system with a few files and directories.

cpp-jwt - JSON Web Token library for C++

JSON Web Token(JWT) is a JSON based standard (RFC-7519) for creating assertions or access tokens that consists of some claims (encoded within the assertion). This assertion can be used in some kind of bearer authentication mechanism that the server will provide to clients, and the clients can make use of the provided assertion for accessing resources. This provides JWT client support in C++.

power-assert - Power Assert in JavaScript

Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API.power-assert provides descriptive assertion messages for your tests, like this.

chai - BDD / TDD assertion framework for node

Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. For more information or to download plugins, view the documentation.

js-must - An assertion library for JavaScript and Node

Must.js is a testing and assertion library for JavaScript and Node.js with a friendly BDD syntax ( It ships with many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good and well testsed stuff. For those new to testing JavaScript on Node.js, you'll also need a test framework (also called a test-runner or a harness) to run your tests. One such tool is Mocha.

Shouldly - Should testing for .NET - the way Asserting *Should* be!

Shouldly is an assertion framework which focuses on giving great error messages when the assertion fails while being simple and terse.Shouldly uses the code before the ShouldBe statement to report on errors, which makes diagnosing easier.

mock-require - Simple, intuitive mocking of Node.js modules.

mock-require is useful if you want to mock require statements in Node.js. I wrote it because I wanted something with a straight-forward API that would let me mock anything, from a single exported function to a standard library. The module you that you want to mock. This is the same string you would pass in if you wanted to require the module.

TNValidate - A Fluent Validation Library for .NET

TNValidate is a fluent validation library for .Net. It enables you to write validation logic in a way that somewhat resembles natural language. TNValidate comes with built in rules for different types of data, can generate errors in a couple of languages, and is extensible.


Fluent Ado.Net is a lightweight wrapper around Ado.Net, designed to be used in a fluent manner, encourage code reused, and make mapping to domain classes easier. Fluent Ado.Net was originally designed for the compact framework, but can be used in any .net project.