awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Back to hamcrest/hamcrest-php

Open-source alternatives to Hamcrest Php

30 open-source projects similar to hamcrest/hamcrest-php, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Hamcrest Php alternative.

  • thomhurst/tunitthomhurst avatar

    thomhurst/TUnit

    3,744View on GitHub↗

    TUnit is a comprehensive C# testing framework, mocking library, and fluent assertion tool. It utilizes source generation for test discovery and mock creation, ensuring compatibility with Native AOT and IL trimming by eliminating the need for runtime reflection and proxies. The framework provides specialized capabilities for integration testing, including the management of distributed application lifecycles, isolated database schemas, and the correlation of telemetry and logs across process boundaries via OTLP. It also includes an HTTP testing utility to intercept network exchanges and mock AP

    C#csharpdotnettest
    View on GitHub↗3,744
  • sebastianbergmann/comparatorsebastianbergmann avatar

    sebastianbergmann/comparator

    7,053View on GitHub↗

    This library is a data assertion tool and equality logic framework for PHP. It provides utilities to verify that two values, nested objects, or complex data types match based on their internal contents. The project distinguishes itself through the use of custom matching rules and configurable precision. It allows for the comparison of floating point numbers and dates using a defined margin of error to account for numeric precision loss. The framework covers deep value equality verification across scalars, arrays, and nested objects. It implements strict type enforcement to prevent implicit c

    PHP
    View on GitHub↗7,053
  • junit-team/junit4junit-team avatar

    junit-team/junit4

    8,525View on GitHub↗

    JUnit 4 is a unit testing framework for Java that provides a structured approach to writing and running automated tests. At its core, it uses annotation-based test discovery to automatically identify test methods, and a pluggable runner architecture that controls how test classes are discovered, instantiated, and executed. The framework builds test execution around a chain of Statement objects, each wrapping the next to layer behaviors such as timeouts and retries, and uses Java reflection to dynamically invoke test methods and access private fields for setup and teardown operations. The fram

    Java
    View on GitHub↗8,525

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Find more with AI search
  • assertj/assertjassertj avatar

    assertj/assertj

    2,827View on GitHub↗

    AssertJ is a Java assertion library and fluent interface testing framework. It provides a toolkit for verifying object states using a chainable syntax designed to make test assertions descriptive and readable. The library functions as a type-specific Java verifier, offering specialized assertion methods for strings, collections, maps, and complex object graphs. It utilizes type-specific assertion classes to provide validation methods relevant to the specific data structure being tested. The framework covers a broad range of quality assurance capabilities, including object state verification

    Javaassertionsassertjgroovy
    View on GitHub↗2,827
  • doctrine/instantiatordoctrine avatar

    doctrine/instantiator

    10,999View on GitHub↗

    Instantiator is a PHP library designed to create class instances without invoking their constructors. It uses the PHP Reflection API to allocate objects in memory and initialize them in a predefined state, bypassing standard constructor logic. The project functions as a data hydration tool and a testing helper. It enables the population of PHP objects from external data sources by mapping values directly to properties, regardless of whether those properties are public, protected, or private. This capability allows for the generation of objects in specific internal states for unit tests withou

    PHP
    View on GitHub↗10,999
  • asaskevich/govalidatorasaskevich avatar

    asaskevich/govalidator

    6,203View on GitHub↗

    Go Package of validators and sanitizers for strings, numerics, slices and structs

    Gogogovalidatorsanitization
    View on GitHub↗6,203
  • lunet-io/scribanlunet-io avatar

    lunet-io/scriban

    3,905View on GitHub↗

    Scriban is a .NET text templating engine and embedded scripting language used for dynamic text generation. It functions as an abstract syntax tree manipulation tool and a template parser, allowing for the conversion of scripts into visitable trees for analysis, modification, and rendering. The engine is specifically designed for Native AOT compatibility, utilizing a reflection-free API to execute templates in trimmed environments. It also provides a dedicated parser and conversion system for Liquid templates, enabling the migration and execution of Liquid scripts within .NET. The project cov

    C#
    View on GitHub↗3,905
  • catchorg/catch2catchorg avatar

    catchorg/Catch2

    20,198View on GitHub↗

    Catch2 is a comprehensive framework for C++ software validation, providing an environment for unit testing, integration verification, and performance analysis. It enables developers to define and execute automated test suites and micro-benchmarks directly within their applications. The framework is distinguished by its header-only distribution, which allows for integration into existing build systems without requiring complex external dependencies. It utilizes a hierarchical section-based execution model that supports behavior-driven testing, allowing for shared setup and teardown logic acros

    C++bddcppcpp14
    View on GitHub↗20,198
  • doctest/doctestdoctest avatar

    doctest/doctest

    6,765View on GitHub↗

    doctest is a lightweight C++ unit testing framework and assertion library. It provides a single-header implementation that eliminates complex build dependencies, allowing developers to write and execute test cases directly within their source code. The framework is distinguished by its focus on compile-time performance and binary overhead. It uses conditional compilation guards to strip all testing logic and metadata from production binaries. Additionally, it features hierarchical subcases that re-execute parent setup code to isolate different execution paths within a single test case. Its c

    C++c-plus-pluscppcpp11
    View on GitHub↗6,765
  • mockito/mockitomockito avatar

    mockito/mockito

    15,432View on GitHub↗

    Mockito is a Java mocking framework and JUnit testing library used to create simulated objects and stub method calls to isolate components during unit tests. It functions as a dynamic proxy generator and bytecode instrumentation tool, allowing for the creation of runtime substitutes that mimic the behavior of real classes. The framework distinguishes itself by providing the ability to mock final classes and methods, bypassing standard language restrictions through bytecode modification. This capability enables the testing of legacy code that lacks interfaces. The toolset covers behavioral mo

    Java
    View on GitHub↗15,432
  • onqtam/doctestonqtam avatar

    onqtam/doctest

    6,768View on GitHub↗

    doctest is a unit testing framework and assertion library for C++ delivered as a single-header library. It provides a test runner with a command line interface to execute tests, filter test suites, and generate execution reports. The framework supports in-source unit testing and allows for the complete removal of testing logic from compiled binaries via preprocessor stripping to eliminate performance overhead in production environments. It also enables cross-binary test registry sharing, allowing one executable to utilize the test runner of another. Capabilities include parameterized testing

    C++
    View on GitHub↗6,768
  • swiftlang/swift-testingswiftlang avatar

    swiftlang/swift-testing

    2,155View on GitHub↗

    Swift Testing is a testing framework for the Swift programming language that provides a structured environment for validating code behavior. It utilizes compile-time macro discovery to register test functions and organizes them into hierarchical suites, allowing for granular control over test execution and metadata tagging. The framework distinguishes itself through native integration with Swift concurrency models, enabling parallel test execution to reduce verification time. It supports parameterized testing, which allows developers to run identical logic across multiple input values, and pr

    Swiftsoftware-qualityswiftswift-macros
    View on GitHub↗2,155
  • jquery/qunitjquery avatar

    jquery/qunit

    4,035View on GitHub↗

    QUnit is a JavaScript unit testing framework designed to verify code behavior using assertions and lifecycle hooks across browsers and server runtimes. It functions as a browser-based test runner with an HTML interface for reporting results, an asynchronous test orchestrator for coordinating callbacks, and a utility for isolating and verifying document object model changes. The framework distinguishes itself through specialized DOM testing capabilities, allowing for the isolation and resetting of the document object model between tests to ensure atomicity. It also features a system for detect

    JavaScript
    View on GitHub↗4,035
  • pestphp/pestpestphp avatar

    pestphp/pest

    11,537View on GitHub↗

    Pest is a testing framework for PHP that provides a comprehensive suite for executing unit, integration, and end-to-end tests. It functions as an automated testing tool that prioritizes developer experience and readability through a concise, expressive syntax for defining test suites. By wrapping an established testing foundation, it maintains compatibility with existing ecosystem tools while offering a specialized interface for writing and organizing automated tests. The framework distinguishes itself through integrated support for parallel test execution, which distributes suites across mul

    PHPframeworkpestphp
    View on GitHub↗11,537
  • rubberduck-vba/rubberduckrubberduck-vba avatar

    rubberduck-vba/Rubberduck

    2,122View on GitHub↗

    Rubberduck is a development environment extension designed for legacy Visual Basic and Visual Basic for Applications projects. It functions as a comprehensive suite that integrates directly into the host editor to provide static code analysis, automated refactoring, and project management capabilities. The tool distinguishes itself by implementing a formal grammar-based parsing engine that transforms source code into a structured abstract syntax tree. This allows for deep static analysis, enabling the identification of defects and style inconsistencies. It further supports development workflo

    C#addinc-sharpcom
    View on GitHub↗2,122
  • remix-project-org/remix-projectremix-project-org avatar

    remix-project-org/remix-project

    3,003View on GitHub↗

    Remix is a comprehensive blockchain development environment and Ethereum smart contract IDE. It provides a complete workspace for writing, compiling, deploying, and debugging smart contracts across simulated and public blockchain networks. The project distinguishes itself as a specialized toolchain for EVM debugging and analysis, offering opcode-level transaction stepping and state memory analysis. It also includes a dedicated zero-knowledge proof toolchain for compiling ZK circuits and generating cryptographic proofs, alongside an AI-powered coding assistant for code generation and explanati

    TypeScriptblockchainethereumevm
    View on GitHub↗3,003
  • rspec/rspec-mocksrspec avatar

    rspec/rspec-mocks

    1,148View on GitHub↗

    This project is a Ruby unit testing tool designed for dependency isolation and behavioral contract verification. It functions as a comprehensive mocking framework that allows developers to replace real objects with controlled placeholders, ensuring that code interacts with its dependencies as expected during automated test execution. The framework distinguishes itself through its ability to perform partial double verification, which checks that stubbed methods exist on the underlying object to prevent tests from passing against incorrect interfaces. It also provides sophisticated constant man

    Rubyrspecruby
    View on GitHub↗1,148
  • gibbok/typescript-bookgibbok avatar

    gibbok/typescript-book

    10,317View on GitHub↗

    The Concise TypeScript Book: A Concise Guide to Effective Development in TypeScript. Free and Open Source.

    JavaScriptbookfreejavascript
    View on GitHub↗10,317
  • aplus-framework/appaplus-framework avatar

    aplus-framework/app

    594View on GitHub↗

    This project is a PHP web application framework designed to provide a structured foundation for building and scaling applications. It utilizes a model-view-controller architecture to separate data management, user interface rendering, and request handling, while employing a service container to manage dependency injection and modular code organization. The framework distinguishes itself by integrating a comprehensive suite of development and maintenance tools directly into the ecosystem. It features a command-line interface for automating repetitive tasks and managing application state, along

    PHPaplusaplus-frameworkapp
    View on GitHub↗594
  • philsquared/catchphilsquared avatar

    philsquared/Catch

    20,456View on GitHub↗

    Catch is a C++ testing toolset providing frameworks for unit testing, behavior-driven development, and micro-benchmarking. It serves as a utility for software quality assurance and test-driven development, allowing developers to validate code correctness and measure the execution time of small code fragments. The project features a header-only distribution, enabling integration by including a single file. It utilizes expression-decomposition assertions to provide detailed failure messages and employs a self-registering test discovery system that uses macros to register test cases without manu

    C++
    View on GitHub↗20,456
  • niieani/bash-oo-frameworkniieani avatar

    niieani/bash-oo-framework

    5,620View on GitHub↗

    This project is a collection of specialized shell frameworks that provide object-oriented programming patterns, unit testing tools, and a standard utility library for Bash scripts. It enables the organization of script logic through the implementation of classes, objects, and singleton design patterns to create modular and reusable components. The framework includes a dedicated exception handling library that captures command failures using try-catch blocks and stores error metadata in objects. It also provides a unit testing framework that executes shell commands as independent test cases an

    Shell
    View on GitHub↗5,620
  • googlesamples/android-testing-templatesgooglesamples avatar

    googlesamples/android-testing-templates

    1,955View on GitHub↗

    This repository provides a collection of reference implementations and patterns for testing Android applications. It serves as a guide for developers to integrate standard testing libraries and frameworks into their projects, covering the full spectrum of verification from local business logic to complex interface interactions. The project distinguishes itself by demonstrating how to configure and execute tests across diverse environments, including local virtual machines and physical devices or emulators. It provides specific patterns for validating inter-application communication, automatin

    Java
    View on GitHub↗1,955
  • throwtheswitch/unityThrowTheSwitch avatar

    ThrowTheSwitch/Unity

    5,265View on GitHub↗

    Unity is a lightweight unit testing framework for C, providing the assertion library, test runner, and reporting mechanisms required to verify code correctness. It functions as core testing infrastructure for organizing and executing unit tests in C environments. The framework is designed for system-level and embedded software validation, with specific capabilities for verifying firmware and hardware drivers. It focuses on memory integrity and pointer validity, allowing for the validation of pointer states and the inspection of raw memory blocks. The toolset covers a broad range of compariso

    C
    View on GitHub↗5,265
  • apache/mavenapache avatar

    apache/maven

    5,161View on GitHub↗

    Maven is a Java build automation tool and software build orchestrator. It functions as a project lifecycle manager and dependency management system, using a standardized project object model to compile, test, and package Java projects. The project distinguishes itself through a phase-based build lifecycle and a plugin-based extension model, allowing users to bind custom goals to specific build stages. It coordinates complex software through multi-module project orchestration and ensures a reproducible build workflow by neutralizing environmental variables and controlling toolchain versions.

    Javaapache-mavenbuild-managementhacktoberfest
    View on GitHub↗5,161
  • unisonweb/unisonunisonweb avatar

    unisonweb/unison

    6,487View on GitHub↗
    Haskellhacktoberfesthaskellprogramming-language
    View on GitHub↗6,487
  • microsoft/frontend-bootcampmicrosoft avatar

    microsoft/frontend-bootcamp

    10,792View on GitHub↗

    Frontend Workshop from HTML/CSS/JS to TypeScript/React/Redux

    TypeScriptcsscss-in-jshtml
    View on GitHub↗10,792
  • pegasuswang/python_data_structures_and_algorithmsPegasusWang avatar

    PegasusWang/python_data_structures_and_algorithms

    3,078View on GitHub↗

    This repository is a comprehensive educational resource for mastering fundamental computer science concepts through Python. It provides a structured collection of source code implementations for classic data structures and algorithms, serving as a practical guide for building technical proficiency and preparing for coding interviews. The project distinguishes itself by integrating visual aids and diagrams that map complex execution steps to clarify how data structures function. This visual approach is paired with a rigorous automated unit testing framework, which validates the correctness of

    Pythonalgorithmdatastructurespython3
    View on GitHub↗3,078
  • vuejs/vue-test-utilsvuejs avatar

    vuejs/vue-test-utils

    3,544View on GitHub↗

    Vue Test Utils is a testing library designed for the Vue framework that provides a suite of tools for mounting, interacting with, and asserting the state and output of user interface components. It functions as a JavaScript unit testing tool, enabling developers to verify component logic, rendered structure, and dynamic behavior within an automated test environment. The library distinguishes itself through its ability to isolate components during testing, allowing for shallow rendering that replaces child components with stubs to prevent external dependencies from influencing results. It prov

    JavaScript
    View on GitHub↗3,544
  • xunit/xunitxunit avatar

    xunit/xunit

    4,535View on GitHub↗

    xunit is a unit testing framework for the .NET ecosystem designed to execute isolated code units and report failures across multiple platforms. It functions as a data-driven test runner and a native AOT test suite, capable of verifying compiled binaries and standalone executables after ahead-of-time compilation. The framework utilizes build-time source generators for test discovery to define test cases without relying on runtime reflection. It also features an extensible reporting system where custom logic can be linked into test assemblies to output results in specialized formats. The proje

    C#c-sharpdotnetunit-testing
    View on GitHub↗4,535
  • mockery/mockerymockery avatar

    mockery/mockery

    10,724View on GitHub↗

    Mockery is a PHP framework designed for creating test doubles, stubs, and spies to facilitate isolated unit testing. It serves as a utility for simulating class behavior, intercepting method calls, and validating arguments, allowing developers to replace real dependencies with mock objects to verify that code components interact as intended. The framework distinguishes itself through advanced capabilities for handling complex testing scenarios, such as bypassing constructors, mocking protected methods, and intercepting static calls or internal object instantiations. It provides a fluent inter

    PHPmockmockerymocking
    View on GitHub↗10,724