GithubHelp home page GithubHelp logo

replore / fest-assert-2.x Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexruiz/fest-assert-2.x

0.0 2.0 0.0 7.76 MB

FEST Fluent Assertions 2.x

Home Page: http://fest.easytesting.org

License: Apache License 2.0

fest-assert-2.x's Introduction

FEST-Assert provides a fluent interface for assertions.

Example:

int removed = employees.removeFired();
assertThat(removed).isZero();
 
List<Employee> newEmployees = employees.hired(TODAY);
assertThat(newEmployees).hasSize(6)
                        .contains(frodo, sam);
 
assertThat(yoda).isInstanceOf(Jedi.class)
                .isEqualTo(foundJedi)
                .isNotEqualTo(foundSith);

The 2.x branch is an attempt to learn from mistakes made in the the 1.x release, in terms of readability and extensibility.

FEST's assertions are incredibly easy to write: just type assertThat followed the actual value and a dot, and any Java IDE will show you all the assertions available for the type of the object to verify. No more confusion about the order of the "expected" and "actual" values. Our assertions are very readable as well: they read very close to plain English, making it easier for non-technical people to read test code.

FEST provides also separate modules for :

For more details please visit :

Many thanks to Cloudbees for their FOSS program that allows FEST to have a Jenkins CI server and Sonar for code quality report.

cloudbees

fest-assert-2.x's People

Contributors

alexruiz avatar ash2k avatar fbiville avatar gesellix avatar jakewharton avatar joel-costigliola avatar jontejj avatar lugribossk avatar maciejjaskowski avatar mbaechler avatar nfrancois avatar nurkiewicz avatar olim7t avatar olivierdemeijer avatar wanghy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.