strikt - An assertion library for Kotlin

  •        37

Strikt is an assertion library for Kotlin intended for use with a test runner such as JUnit or Spek. Strikt is under development, but 100% usable. The API may change until a version 1.0 is released. Any suggestions, issue reports, contributions, or feedback are very welcome.

https://strikt.io/
https://github.com/robfletcher/strikt

Tags
Implementation
License
Platform

   




Related Projects

Kluent - Fluent Assertion-Library for Kotlin

  •    Kotlin

Kluent is a "Fluent Assertions" library written specifically for Kotlin. It uses the Infix-Notations and Extension Functions of Kotlin to provide a fluent wrapper around the JUnit-Asserts and Mockito.

MyTested.WebApi - Fluent testing framework for ASP.NET Web API 2.

  •    CSharp

MyTested.WebApi is a unit testing library providing easy fluent interface to test the ASP.NET Web API 2 framework. It is testing framework agnostic, so you can combine it with a test runner of your choice (e.g. NUnit, xUnit, etc.). Inspired by ChaiJS. Please see the documentation for full list of available features. Everything listed in the documentation is 100% covered by more than 800 unit tests and should work correctly. Almost all items in the issues page are expected future features and enhancements.

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.

fluentassertions - Fluent Assertions is a set of

  •    CSharp

Fluent Assertions is a set of .NET extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style test. We currently use it in all our internal and client projects, and it is used in many open-source projects. It runs on .NET 4.0, 4.5, 4.6, CoreClr, .NET Native, Windows 8.1, Silverlight 5, Windows Phone 8.0 and UWP. It supports the unit test frameworks MSTest, MSTest2, NUnit, XUnit, MBUnit, Gallio, NSpec and MSpec.

fest-assert-2.x - FEST Fluent Assertions 2.x

  •    Java

'Flexible' or 'fluent' assertions for testing


enzyme - JavaScript Testing utilities for React

  •    Javascript

Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.Enzyme's API is meant to be intuitive and flexible by mimicking jQuery's API for DOM manipulation and traversal.

kotlintest - Powerful, elegant and flexible Kotlin test framework

  •    Kotlin

KotlinTest comes with several testing styles so you can choose one that fits your needs. Matchers are extension methods and so your IDE will auto complete. See the full list of matchers or write your own.

supertest - Super-agent driven library for testing node.js HTTP servers using a fluent API

  •    Javascript

HTTP assertions made easy via superagent.The motivation with this module is to provide a high-level abstraction for testing HTTP, while still allowing you to drop down to the lower-level API provided by superagent.

fest-assert-2.x - FEST Fluent Assertions 2.x

  •    Java

FEST Fluent Assertions 2.x

Truth - Fluent assertions for Java

  •    Java

Truth makes your test assertions and failure messages more readable. Similar to AssertJ, it natively supports many JDK and Guava types, and it is extensible to others.

assert - Assertions to validate method input/output with nice error messages.

  •    PHP

This library contains efficient assertions to test the input and output of your methods. With these assertions, you can greatly reduce the amount of coding needed to write a safe implementation. All assertions in the Assert class throw an \InvalidArgumentException if they fail.

MyTested.AspNetCore.Mvc - Fluent testing framework for ASP.NET Core MVC.

  •    CSharp

MyTested.AspNetCore.Mvc is a unit testing library providing an easy fluent interface to test the ASP.NET Core MVC framework. It is testing framework agnostic so that you can combine it with a test runner of your choice (e.g. xUnit, NUnit, etc.). It is strongly advised to start with the tutorial in order to get familiar with MyTested.AspNetCore.Mvc. Additionally, you may see the testing guide or the API reference for a full list of available features. MyTested.AspNetCore.Mvc is 100% covered by more than 1800 unit tests and should work correctly. Almost all items in the issues page are expected future features and enhancements.

httpexpect - End-to-end HTTP and REST API testing for Go.

  •    Go

Concise, declarative, and easy to use end-to-end HTTP and REST API testing for Go (golang).Basically, httpexpect is a set of chainable builders for HTTP requests and assertions for HTTP responses and payload, on top of net/http and several utility packages.

chai-jquery - jQuery assertions for chai

  •    Javascript

chai-jquery is an extension to the chai assertion library that provides a set of jQuery-specific assertions. Note that jquery.js and chai.js can be inserted one before another (order does not matter here).

power-assert - Power Assert in JavaScript

  •    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-as-promised - Extends Chai with assertions about promises.

  •    Javascript

Chai as Promised extends Chai with a fluent language for asserting facts about promises. Notice: either return or notify(done) must be used with promise assertions. This can be a slight departure from the existing format of assertions being used on a project or by a team. Those other assertions are likely synchronous and thus do not require special handling.

chai - BDD / TDD assertion framework for node

  •    Javascript

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.

Fluent NHibernate - Fluent mapping for model

  •    CSharp

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 toolkit with common assertions and mocks that plays nicely with the standard library

  •    Go

Go code (golang) set of packages that provide many tools for testifying that your code will behave as you intend. It supports Easy assertions, Mocking, Testing suite interfaces and functions.