Java Assertions

Open-source Java projects categorized as Assertions

Top 6 Java Assertion Projects

  • Karate

    Test Automation Made Simple

  • AssertJ

    AssertJ is a library providing easy to use rich typed assertions

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • zerocode

    A community-developed, free, opensource, automated testing framework for microservices APIs, Kafka(Data Streams) and Load testing. Zerocode Open Source enables you to create, change and maintain your automated test scenarios via simple JSON or YAML files. Visit documentation below:

  • unlogged-sdk

    Unlogged SDK for recording code execution

  • Project mention: Show HN: Unlogged (YC S22) – open-source record and replay for Java | news.ycombinator.com | 2023-10-30

    Hello HN! Parth, and Shardul here. We have been building unlogged.io for the last 21 months. We started as a time travel debugger and pivoted to record and replay with assertions, mocking, and code coverage. You can save the replays in the form of a JSON and commit them to your git.

    Both Parth and I come from an e-commerce/payments background where production bugs meant heavy financial losses. Big billion days/Black Friday sales meant months of code freezes with low productivity. Before committing the code, we wanted to replay production traffic and know the breaking changes right away, like in sub-second. Kind of like unit+integration tests on steroids.

    So, we built an SDK that adds probes to the code in compile time. The SDK logs code execution, in detail.

    Git: https://github.com/unloggedio/unlogged-sdk

    We also built an IDE plugin that keeps monitoring code changes, hot reloads these changes, replays the relevant methods, and alerts on failing replays. It also lets developers call Java methods directly, mock downstream methods in run time, highlight code coverage in real-time, and show performance numbers for methods with inlay hints. (right above each method)

    Git: https://github.com/unloggedio/intellij-java-plugin

    We are excited to launch the first version of our product that replays with assertions + mocking + code coverage reports right inside the IDE.

    Link to our IntelliJ plugin: https://plugins.jetbrains.com/plugin/18529-unlogged/

    Record and Replay Demo: https://www.youtube.com/watch?v=muCyE-doEB0

    Define Assertions on Replay: https://www.youtube.com/watch?v=YKsi1p634-M

    Track Code Coverage: https://www.youtube.com/watch?v=NMmp954kfaU

    Generate JUnit Test Cases: https://www.youtube.com/watch?v=rTUmg5b1Z_Q

    Mocking when replaying: https://www.youtube.com/watch?v=O_aqU1u-Kmw

    Documentation: http://read.unlogged.io/

    Roadmap:

    1. Create a production logger

  • Scott Test Reporter

    Never debug a test again: Detailed failure reports and hassle free assertions for Java tests - Power Asserts for Java

  • Deep Dive

    Fluent assertions library for Java (by jdlib)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Java Assertions related posts

Index

What are some of the best open-source Assertion projects in Java? This list will help you:

Project Stars
1 Karate 7,835
2 AssertJ 2,536
3 zerocode 847
4 unlogged-sdk 139
5 Scott Test Reporter 136
6 Deep Dive 7

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com