EUNO.NEWS EUNO.NEWS
  • All (20349) +286
  • AI (3104) +14
  • DevOps (907) +7
  • Software (10509) +190
  • IT (5781) +75
  • Education (48)
  • Notice
  • All (20349) +286
    • AI (3104) +14
    • DevOps (907) +7
    • Software (10509) +190
    • IT (5781) +75
    • Education (48)
  • Notice
  • All (20349) +286
  • AI (3104) +14
  • DevOps (907) +7
  • Software (10509) +190
  • IT (5781) +75
  • Education (48)
  • Notice
Sources Tags Search
한국어 English 中文
  • 4天前 · software

    Show HN: Tusk Drift – 将生产流量转化为 API 测试

    嗨,HN!在过去的几个月里,我和我的团队一直在开发 Tusk Drift,这是一套能够记录来自您服务的真实 API 流量并重新播放这些请求的系统,...

    #api testing #traffic replay #deterministic tests #mocking #integration testing #tusk drift #software tooling
  • 6天前 · software

    TWD 小技巧:存根 Auth0 Hooks 并模拟 React 模块

    后台认证是现代应用中最棘手的测试功能之一。像 Auth0 这样的工具帮助很大,尤其是在 React 中,提供诸如 … 的 hooks。

    #auth0 #react #testing #mocking #sinon #cypress #vitest #tdd #pkce #authentication
  • 1周前 · software

    如何使用 NSubstitute 对 C# 公共方法进行 Mock

    将方法设为 virtual。这是最小的更改,并且完全受 NSubstitute 支持。csharp public class ProductService { public virtual int GetPrice { return … } }

    #C# #NSubstitute #mocking #unit testing #virtual methods #interfaces #dependency injection #wrapper pattern #adapter pattern
  • 3周前 · software

    在担任 Mockito 维护者 10 年后辞职

    文章链接: https://github.com/mockito/mockito/issues/3777 评论链接: https://news.ycombinator.com/item?id=46414078 点数: 33 评论数: 0

    #Mockito #Java #mocking #open-source #maintainer #unit testing
  • 0个月前 · software

    我为什么构建 ElysianDB

    早期后端决策的问题 大多数项目并不是因为缺乏创意而失败。它们放慢速度是出于更结构性的原因:后端决策…

    #backend #database #mocking #software architecture #development workflow #ElysianDB
  • 1个月前 · software

    NimbleMock:一个现代、极快的 .NET Mocking 库(比 Moq 快 34 倍)

    封面图片:NimbleMock——一个现代、极速的 .NET Mocking 库,速度是 Moq 的 34 倍 https://media2.dev.to/dynamic/image/width=1000,height=420,fit=co...

    #.NET #mocking #unit-testing #NimbleMock #Moq #performance #test-automation
  • 1个月前 · software

    测试 Azure Functions:使用 Moq 的单元测试 & 使用 Testcontainers 的集成测试

    概述:使用 Moq 对 Azure Functions 进行单元测试,模拟服务接口;使用 Testcontainers 对集成测试进行真实的 Azurite Blob 存储。本指南……

    #azure-functions #unit-testing #integration-testing #moq #testcontainers #azurite #.net #c# #mocking #docker
  • 1个月前 · software

    使用 Moq 和 xUnit 对 ASP.NET Core Web API 进行单元测试(控制器 + 服务)

    什么是 Moq? Moq 允许你用轻量级的 test doubles 替换真实的依赖,从而能够在隔离的环境中测试逻辑。 核心方法 - Setup → 定义 mocked …

    #unit testing #ASP.NET Core #Web API #Moq #xUnit #.NET #mocking #test-driven development
  • 1个月前 · software

    Mocking、Stubbing、Spying 和 Faking 在 PHP 中:实用指南(含 Sandbox 示例)

    现代 PHP 应用依赖许多外部组件:API、数据库、文件系统、随机生成器、时间提供者,以及与 t...

    #PHP #unit testing #mocking #stubbing #test doubles #PHPUnit #Mockery #test automation #software testing
EUNO.NEWS
RSS GitHub © 2026