Kluent - Fluent Assertion-Library for Kotlin

  •        50

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.

https://markusamshove.github.io/Kluent/
https://github.com/MarkusAmshove/Kluent

Tags
Implementation
License
Platform

   




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.

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.

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.

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.


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.

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

  •    Java

'Flexible' or 'fluent' assertions for testing

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.

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

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.

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.

RxTest - Kotlin DSL for easier RxJava testing.

  •    Kotlin

For bugs, questions and discussions please use the Github Issues.

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.

sinon-chai - Extends Chai with assertions for the Sinon.JS mocking framework.

  •    Javascript

Sinon–Chai provides a set of custom assertions for using the Sinon.JS spy, stub, and mocking framework with the Chai assertion library. You get all the benefits of Chai with all the powerful tools of Sinon.JS. All of your favorite Sinon.JS assertions made their way into Sinon–Chai. We show the should syntax here; the expect equivalent is also available.

kotlin-coroutines-retrofit - Kotlin Coroutines await() extension for Retrofit Call

  •    Kotlin

Based on kotlinx.coroutines implementation. NOTE: All examples in this README use runBlocking to build coroutine but it is only useful for testing or examples.

CUnit - A Unit Testing Framework for C

  •    C

CUnit is a lightweight system for writing, administering, and running unit tests in C. It provides C programmers a basic testing functionality with a flexible variety of user interfaces. CUnit is built as a static library which is linked with the user's testing code. It uses a simple framework for building test structures, and provides a rich set of assertions for testing common data types.