{"id":13471360,"url":"https://github.com/assertj/assertj","last_synced_at":"2026-01-24T21:22:45.760Z","repository":{"id":36989334,"uuid":"8779606","full_name":"assertj/assertj","owner":"assertj","description":"Fluent testing assertions for Java and the JVM","archived":false,"fork":false,"pushed_at":"2026-01-21T21:43:13.000Z","size":55245,"stargazers_count":2794,"open_issues_count":255,"forks_count":767,"subscribers_count":69,"default_branch":"main","last_synced_at":"2026-01-21T21:46:46.410Z","etag":null,"topics":["assertions","assertj","groovy","hacktoberfest","java","kotlin","testing","typed-assertions"],"latest_commit_sha":null,"homepage":"https://assertj.github.io/doc/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/assertj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE.txt","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["joel-costigliola","scordio"],"thanks_dev":"u/gh/assertj"}},"created_at":"2013-03-14T16:18:49.000Z","updated_at":"2026-01-21T10:06:45.000Z","dependencies_parsed_at":"2025-12-25T23:02:09.136Z","dependency_job_id":null,"html_url":"https://github.com/assertj/assertj","commit_stats":{"total_commits":5042,"total_committers":439,"mean_commits":"11.485193621867882","dds":0.660650535501785,"last_synced_commit":"d8e3ee2ed14c13c14a6bec636ece685e1878cda3"},"previous_names":["joel-costigliola/assertj-core","assertj/assertj-core"],"tags_count":82,"template":false,"template_full_name":null,"purl":"pkg:github/assertj/assertj","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assertj%2Fassertj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assertj%2Fassertj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assertj%2Fassertj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assertj%2Fassertj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/assertj","download_url":"https://codeload.github.com/assertj/assertj/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assertj%2Fassertj/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28692627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T11:01:27.039Z","status":"ssl_error","status_checked_at":"2026-01-23T11:00:26.909Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assertions","assertj","groovy","hacktoberfest","java","kotlin","testing","typed-assertions"],"created_at":"2024-07-31T16:00:43.653Z","updated_at":"2026-01-24T21:22:45.755Z","avatar_url":"https://github.com/assertj.png","language":"Java","readme":"# AssertJ - Fluent Assertions for Java [![Maven Central](https://img.shields.io/maven-central/v/org.assertj/assertj-core.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/org.assertj/assertj-core) [![Javadocs](http://www.javadoc.io/badge/org.assertj/assertj-core.svg)](http://www.javadoc.io/doc/org.assertj/assertj-core)\n\n[![CI](https://github.com/assertj/assertj/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/assertj/assertj/actions/workflows/main.yml?query=branch%3Amain)\n[![Binary Compatibility](https://github.com/assertj/assertj/actions/workflows/binary-compatibility.yml/badge.svg?branch=main)](https://github.com/assertj/assertj/actions/workflows/binary-compatibility.yml?query=branch%3Amain)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=joel-costigliola_assertj-core\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=joel-costigliola_assertj-core)\n\nAssertJ provides a rich and intuitive set of strongly-typed assertions to use for unit testing (with JUnit, TestNG or any other test framework).\n\n* [AssertJ's Goals](#assertjs-goals)\n* [Quick start](https://assertj.github.io/doc/#assertj-core-quick-start)\n* [Documentation](https://assertj.github.io/doc/#assertj-core)\n* [Want to Contribute?](#want-to-contribute)\n\nYou can ask questions in [**stackoverflow (assertj tag)**](https://stackoverflow.com/questions/tagged/assertj?mixed=1) and make suggestions by simply creating an issue.\n\n## Sponsors\n\n\u003ca href=\"https://www.testmu.ai\" target=\"_blank\"\u003e\u003cimg width=\"202\" height=\"100\" style=\"vertical-align: middle;\" alt=\"TestMu AI\" src=\"https://github.com/user-attachments/assets/6437eddd-da98-4246-b2af-ebe573f3735d\" /\u003e\n\n## AssertJ's Goals\n\nAssertJ's ambition is to provide a rich and intuitive set of strongly-typed assertions for unit testing.\n\nThe 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.\n\nAssertJ's assertions are super easy to use: just type **`assertThat(underTest).`** and use code completion to show you all assertions available.\n\nAssertion missing? Please [create an issue](https://github.com/assertj/assertj/issues) to discuss it and even better [contribute to the project](https://github.com/assertj/assertj/blob/main/CONTRIBUTING.md)!\n\n\nAssertJ is composed of several modules:\n* A **core module** to provide assertions for JDK types (`String`, `Iterable`, `Stream`, `Path`, `File`, `Map`...) - see [AssertJ Core documentation](https://assertj.github.io/doc/#assertj-core-assertions-guide) and [javadoc](https://www.javadoc.io/doc/org.assertj/assertj-core/latest/index.html).\n* A **Guava module** to provide assertions for Guava types (`Multimap`, `Optional`...) - see [AssertJ Guava documentation](https://assertj.github.io/doc/#assertj-guava) and [javadoc](https://www.javadoc.io/doc/org.assertj/assertj-guava/latest/index.html).\n* A **[Joda Time module](https://github.com/assertj/assertj-joda-time#readme)** to provide assertions for Joda Time types (`DateTime`, `LocalDateTime`) - see [AssertJ Joda Time documentation](http://joel-costigliola.github.io/assertj/assertj-joda-time.html) and  [javadoc](https://www.javadoc.io/doc/org.assertj/assertj-joda-time/latest/index.html).\n* A **[Neo4J module](https://github.com/joel-costigliola/assertj-neo4j#readme)** to provide assertions for Neo4J types (`Path`, `Node`, `Relationship`...) - see [AssertJ Neo4J documentation](http://joel-costigliola.github.io/assertj/assertj-neo4j.html) and [javadoc](https://www.javadoc.io/doc/org.assertj/assertj-neo4j/latest/index.html).\n* A **[DB module](https://github.com/assertj/assertj-db#readme)** to provide assertions for relational database types (`Table`, `Row`, `Column`...) - see [AssertJ DB documentation](https://assertj.github.io/doc/#assertj-db) and [javadoc](https://www.javadoc.io/doc/org.assertj/assertj-db/latest/index.html).\n* A **[Swing module](https://github.com/assertj/assertj-swing#readme)** provides a simple and intuitive API for functional testing of Swing user interfaces - see [AssertJ Swing documentation](http://joel-costigliola.github.io/assertj/assertj-swing.html) and [javadoc](https://www.javadoc.io/doc/org.assertj/assertj-swing/latest/index.html).\n\n## Want to Contribute?\n\nYou are encouraged to contribute any missing useful assertions. \n\nPlease read the [contributing section](https://github.com/assertj/assertj/blob/main/CONTRIBUTING.md) and raise a PR!\n","funding_links":["https://github.com/sponsors/joel-costigliola","https://github.com/sponsors/scordio","https://thanks.dev/u/gh/assertj"],"categories":["Java","测试"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassertj%2Fassertj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassertj%2Fassertj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassertj%2Fassertj/lists"}