awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Back to sebastianbergmann/phpunit-mock-objects

Open-source alternatives to Phpunit Mock Objects

30 open-source projects similar to sebastianbergmann/phpunit-mock-objects, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Phpunit Mock Objects alternative.

  • phpspec/prophecyAvatar von phpspec

    phpspec/prophecy

    8,480Auf GitHub ansehen↗

    Prophecy is a PHP mocking framework and test double library used to simulate object dependencies during unit testing. It serves as a behavioral testing tool for creating mocks, stubs, and dummies to isolate code and ensure predictable test results. The framework enables interaction verification by tracking method call counts and arguments to validate that specific interactions occurred. It supports defining specific return values or custom logic for method calls to simulate various execution scenarios. The library provides capabilities for argument matching based on type or value, interactio

    PHP
    Auf GitHub ansehen↗8,480
  • sebastianbergmann/phpunitAvatar von sebastianbergmann

    sebastianbergmann/phpunit

    20,033Auf GitHub ansehen↗

    PHPUnit is a unit testing framework and automated testing tool for the PHP ecosystem. It provides a comprehensive suite for writing and running automated tests to verify the functional correctness of PHP code and identify software bugs. The framework supports both unit and end-to-end testing to validate individual code units and complete application workflows. It includes capabilities for automated regression testing and test suite management, allowing for the execution of targeted subsets of tests. The tool provides mechanisms for identifying flaky tests through automatic retries and test r

    PHP
    Auf GitHub ansehen↗20,033
  • mockito/mockitoAvatar von mockito

    mockito/mockito

    15,432Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗15,432

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Find more with AI search
  • sinonjs/sinonAvatar von sinonjs

    sinonjs/sinon

    9,753Auf GitHub ansehen↗

    Sinon is a JavaScript test double library and mocking framework used to isolate code and verify behavior during unit testing. It provides a collection of spies, stubs, and mocks that replace real function implementations and object methods with controlled substitutes. The project includes a specialized fake timer library for overriding the system clock, allowing the simulation of time progression to trigger timeouts and intervals without waiting for real-time delays. It also features a test sandbox mechanism to group multiple fakes together, ensuring the original state is restored between tes

    JavaScript
    Auf GitHub ansehen↗9,753
  • moq/moq4Avatar von Moq

    Moq/moq4

    6,387Auf GitHub ansehen↗

    Moq4 is a .NET mocking framework used to create simulated implementations of interfaces and abstract classes. It serves as a test double generator and behavior verification tool, allowing developers to isolate code during unit testing by replacing real dependencies with programmed mocks. The framework enables the definition of expected method behaviors and return values to control the execution flow of tests. It provides specialized capabilities for simulating methods that use output or reference parameters and mechanisms to monitor and trigger events on simulated objects. The library includ

    C#
    Auf GitHub ansehen↗6,387
  • codeception/codeceptionAvatar von Codeception

    Codeception/Codeception

    4,855Auf GitHub ansehen↗

    Codeception is a full-stack testing framework for PHP applications that provides a unified interface for unit, functional, and acceptance testing. It serves as a tool for automating real desktop and mobile browsers via the WebDriver protocol and acts as a client for testing REST and SOAP APIs. The framework is distinguished by its support for Behavior-Driven Development, allowing users to write human-readable test specifications in Gherkin language to align technical tests with business requirements. It implements actor-based action mapping to connect these natural language steps to executabl

    PHP
    Auf GitHub ansehen↗4,855
  • golang/mockAvatar von golang

    golang/mock

    9,361Auf GitHub ansehen↗

    GoMock is a mocking framework for the Go programming language.

    Go
    Auf GitHub ansehen↗9,361
  • mockk/mockkAvatar von mockk

    mockk/mockk

    5,747Auf GitHub ansehen↗

    MockK is a Kotlin test double framework that creates mocks, spies, and relaxed mocks for unit testing, with support for final classes, static methods, and coroutines. It functions as a bytecode instrumentation library that modifies compiled class files at load time to intercept constructors, final methods, and static functions without source changes, and also provides dedicated libraries for constructor mocking and coroutine mocking. The framework is designed specifically for Kotlin, handling Kotlin-specific constructs like extension functions, singletons, and suspend functions. MockK disting

    Kotlinargument-matcherschain-callshacktoberfest
    Auf GitHub ansehen↗5,747
  • doctrine/instantiatorAvatar von doctrine

    doctrine/instantiator

    10,999Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗10,999
  • powermock/powermockAvatar von powermock

    powermock/powermock

    4,174Auf GitHub ansehen↗

    Powermock is a Java mocking framework and unit testing tool that uses bytecode manipulation to mock static methods, final classes, and private constructors. It includes a Java agent instrumentation tool and a reflection-based testing utility to bypass encapsulation and modify class behavior at runtime. The project distinguishes itself by providing the ability to intercept the instantiation of objects via the new keyword and simulate the behavior of core Java system classes and native methods. It can override final modifiers on classes and methods and bypass signature restrictions for classes

    Java
    Auf GitHub ansehen↗4,174
  • rspec/rspec-mocksAvatar von rspec

    rspec/rspec-mocks

    1,148Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗1,148
  • dotnetcore/utilAvatar von dotnetcore

    dotnetcore/Util

    4,610Auf GitHub ansehen↗

    Util is a comprehensive development framework for .NET designed to implement layered architectures and domain driven design. It provides a toolkit of base classes and tools for building full stack applications, specifically focusing on the creation of backend admin frameworks and management interfaces. The project distinguishes itself through a boilerplate generator that produces the necessary types and classes to standardize repetitive architectural patterns. It also includes a micro-frontend orchestrator that enables the splitting of large frontend modules into independent projects for sepa

    C#angularaspnetcoredotnetcore
    Auf GitHub ansehen↗4,610
  • bxcodec/go-clean-archAvatar von bxcodec

    bxcodec/go-clean-arch

    10,118Auf GitHub ansehen↗

    This project is a boilerplate and template for Go applications implementing Clean Architecture. It provides a standardized project structure designed to organize code into decoupled layers, ensuring that core business logic remains independent of databases, frameworks, and user interfaces. The implementation focuses on a domain-driven design that utilizes dependency injection and the repository pattern to abstract data storage. It enforces architectural boundaries through internal package encapsulation and layer-based dependency inversion. The project includes a development toolchain that au

    Goarchitecturearticleclean-architecture
    Auf GitHub ansehen↗10,118
  • codeigniter4/codeigniter4Avatar von codeigniter4

    codeigniter4/CodeIgniter4

    5,924Auf GitHub ansehen↗

    CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools

    PHPcodeignitercodeigniter4framework-php
    Auf GitHub ansehen↗5,924
  • springside/springside4Avatar von springside

    springside/springside4

    5,652Auf GitHub ansehen↗

    SpringSide 4 is an enterprise Java reference architecture and utility library built on the Spring Framework. It provides a pragmatic, best-practice application stack for building RESTful web services, web applications, and data access layers, along with a curated collection of high-performance utility classes for common operations like text, date, collection, reflection, concurrency, and I/O handling. The project distinguishes itself by combining a complete reference application scaffold with production-oriented infrastructure. It includes a JPA-based data access layer that automatically tran

    Java
    Auf GitHub ansehen↗5,652
  • devlooped/moqAvatar von devlooped

    devlooped/moq

    6,389Auf GitHub ansehen↗

    Moq is a .NET mocking framework and C# library used to create simulated objects and interfaces. Its primary purpose is to isolate code from external dependencies during unit testing by providing a system for interface simulation and behavioral testing. The framework distinguishes itself through the use of functional specification queries and LINQ-based querying to create declarative mocks. It supports the simulation of complex scenarios, including the automatic generation of recursive mock hierarchies, the implementation of multiple interfaces within a single mock instance, and the ability to

    C#
    Auf GitHub ansehen↗6,389
  • kiwi-bdd/kiwiAvatar von kiwi-bdd

    kiwi-bdd/Kiwi

    4,121Auf GitHub ansehen↗

    Kiwi is a behavior-driven development framework and specification library for iOS. It functions as a wrapper for XCTest, allowing developers to define and execute software requirements as automated tests to verify application logic. The framework utilizes a domain-specific language to organize test cases into a nested hierarchy of descriptions. It includes a mocking system that employs runtime message interception and dynamic proxies to record invocations and return stubbed values. The system provides a fluent assertion interface to evaluate object states and uses a block-based engine to exe

    Objective-C
    Auf GitHub ansehen↗4,121
  • johnsundell/swifttipsAvatar von JohnSundell

    JohnSundell/SwiftTips

    4,014Auf GitHub ansehen↗

    SwiftTips is a curated collection of guides, libraries, and design patterns focused on Swift language mastery, application architecture, and API design. It provides a technical resource for implementing advanced coding techniques and architectural best practices. The project emphasizes creating type-safe and conversational interfaces through strategic protocol composition and generics. It offers specialized patterns for building modular UI systems and managing complex view hierarchies, alongside comprehensive strategies for unit testing and dependency injection. The resource covers a broad s

    Auf GitHub ansehen↗4,014
  • xunit/xunitAvatar von xunit

    xunit/xunit

    4,535Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗4,535
  • pestphp/pestAvatar von pestphp

    pestphp/pest

    11,537Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗11,537
  • quii/learn-go-with-testsAvatar von quii

    quii/learn-go-with-tests

    23,510Auf GitHub ansehen↗

    This project is an educational platform and tutorial series designed to teach the Go programming language through the practice of test-driven development. It provides a structured path for developers to master language fundamentals, concurrency, and standard library usage by building functional applications in small, verifiable increments. The core methodology centers on the test-driven development cycle, where failing tests are written before implementation to define requirements and ensure code correctness. This approach is applied across a wide range of practical scenarios, including the c

    Gogogolangtdd
    Auf GitHub ansehen↗23,510
  • microsoft/vscode-goAvatar von microsoft

    microsoft/vscode-go

    5,897Auf GitHub ansehen↗

    This project is a Go language extension for VS Code that provides a comprehensive development environment through a language server client, a debugging interface, and a test automation runner. It integrates language intelligence, formatting, and debugging capabilities to support the full Go language development lifecycle. The extension distinguishes itself by managing the Go toolchain, including the installation and configuration of external binaries required for language features. It also features a dedicated test automation interface that allows for the generation of unit test skeletons and

    TypeScript
    Auf GitHub ansehen↗5,897
  • facebook/jestAvatar von facebook

    facebook/jest

    45,448Auf GitHub ansehen↗

    Jest is a JavaScript testing framework that integrates a test runner, an assertion library, and a snapshot testing tool. Its primary purpose is to provide a comprehensive environment for writing and running automated JavaScript tests to verify software correctness. The framework is distinguished by its snapshot testing capabilities, which capture the state of large objects or rendered components to detect regressions over time. It also features a reactive watch mode that monitors file changes and automatically executes only the tests related to modified code. The project covers a broad range

    TypeScript
    Auf GitHub ansehen↗45,448
  • labs42io/clean-code-typescriptAvatar von labs42io

    labs42io/clean-code-typescript

    9,764Auf GitHub ansehen↗

    This project is a set of software engineering standards and architectural patterns for writing maintainable and refactorable TypeScript code. It provides a comprehensive guide for implementing clean code principles, focusing on the application of SOLID design and structural patterns to build decoupled systems. The framework prioritizes composition over inheritance and utilizes dependency inversion to reduce system coupling. It establishes standards for strict static typing and the use of read-only modifiers to ensure type safety and eliminate runtime errors. The guidance covers a broad range

    TypeScriptbest-practicesclean-architectureclean-code
    Auf GitHub ansehen↗9,764
  • microsoft/quantumkatasAvatar von Microsoft

    Microsoft/QuantumKatas

    4,879Auf GitHub ansehen↗

    QuantumKatas is a set of quantum computing courseware and educational assets designed to teach the Q# programming language and quantum computing principles. It combines structured tutorials and coding tasks with interactive notebooks and a dedicated unit testing suite to validate the correctness of exercise implementations. The project provides a dockerized learning environment that packages all necessary tools and dependencies into a virtual image. This allows for the execution of quantum programming exercises without the need for local software installation. The curriculum covers qubit man

    Jupyter Notebook
    Auf GitHub ansehen↗4,879
  • data-dog/go-sqlmockAvatar von DATA-DOG

    DATA-DOG/go-sqlmock

    6,525Auf GitHub ansehen↗

    go-sqlmock is a Go library that simulates SQL driver behavior for unit testing by intercepting database calls through the standard database/sql/driver interface, eliminating the need for a real database connection. It provides a comprehensive mocking framework that allows developers to define expectations for SQL operations, including queries, executions, prepared statements, and transaction lifecycles, with precise control over the results and errors returned. The library distinguishes itself through its flexible matching and verification capabilities. It supports regex-based or exact SQL

    Godatabasegogolang
    Auf GitHub ansehen↗6,525
  • fpinscala/fpinscalaAvatar von fpinscala

    fpinscala/fpinscala

    5,829Auf GitHub ansehen↗

    This repository contains the code exercises and answers that accompany the book Functional Programming in Scala. It is a structured learning resource designed to help readers build functional programming skills through hands-on coding practice, with exercises organized by chapter. The project provides a complete development workflow for learners, including the ability to compile and run Scala code directly from the command line using Scala CLI. It also includes unit tests for each exercise, allowing readers to verify their solutions and track their progress as they work through the material

    Scala
    Auf GitHub ansehen↗5,829
  • goldbergyoni/nodejs-testing-best-practicesAvatar von goldbergyoni

    goldbergyoni/nodejs-testing-best-practices

    4,365Auf GitHub ansehen↗

    This project is a comprehensive guide and collection of best practices for testing Node.js backend applications. It provides a curated set of patterns and reference examples for writing reliable unit, integration, and component tests. The project distinguishes itself through specific strategies for backend integration, including detailed methods for API contract testing against OpenAPI specifications and shared schemas. It offers specialized guidance on managing message queue testing, focusing on idempotency, resilience, and asynchronous event synchronization. The guide covers a broad range

    JavaScriptbackendbest-practicescomponent-testing
    Auf GitHub ansehen↗4,365
  • googlesamples/android-testing-templatesAvatar von googlesamples

    googlesamples/android-testing-templates

    1,955Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗1,955
  • elastic/detection-rulesAvatar von elastic

    elastic/detection-rules

    2,508Auf GitHub ansehen↗

    This project is a detection-as-code framework providing a library of security monitoring rules and predefined detection content for Elasticsearch data indices. It serves as a threat detection rule library designed to identify malicious activity and attack patterns across diverse data streams in cloud and on-premises environments. The framework implements a detection engineering workflow where rules are defined in YAML and managed as versioned code. It includes a set of command-line utilities for automated rule deployment, metadata searching, and template generation, supported by a Python-base

    Pythonthreat-detectionthreat-hunting
    Auf GitHub ansehen↗2,508