Giter VIP home page Giter VIP logo

assertj's Introduction

AssertJ - Fluent Assertions for Java Maven Central Javadocs

CI Cross-Version Binary Compatibility Quality Gate Status

Open in Gitpod

AssertJ provides a rich and intuitive set of strongly-typed assertions to use for unit testing (with JUnit, TestNG or any other test framework).

You can ask questions in stackoverflow (assertj tag) and make suggestions by simply creating an issue.

AssertJ's ambition is to provide a rich and intuitive set of strongly-typed assertions for unit testing.

The idea is that disposal assertions should be specific to the type of the objects we are checking when writing unit tests. If you're checking the value of a String, you use String-specific assertions. Checking the value of a Map? Use Map-specific assertions to easily check the contents of the map.

AssertJ's assertions are super easy to use: just type assertThat(underTest). and use code completion to show you all assertions available.

Assertion missing? Please create an issue to discuss it and even better contribute to the project!

AssertJ is composed of several modules:

You are encouraged to contribute any missing useful assertions.

Please read the contributing section and raise a PR!

assertj's People

Contributors

alexbischof avatar alexruiz avatar ascopes avatar ash2k avatar bjhargrave avatar cgrabmann avatar chriscancompute avatar dependabot-preview[bot] avatar dependabot[bot] avatar ebundy avatar epeee avatar fiery-phoenix avatar filiphr avatar hazendaz avatar jcgay avatar joel-costigliola avatar kriegfrj avatar mariuszs avatar mhaligowski avatar mkordas avatar mwajcht avatar nach-o-man avatar nfrancois avatar olim7t avatar olivierdemeijer avatar pascalschumacher avatar scordio avatar twillouer avatar valery1707 avatar wanghy avatar

Watchers

 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.