EUNO.NEWS EUNO.NEWS
  • All (20292) +229
  • AI (3103) +13
  • DevOps (906) +6
  • Software (10480) +161
  • IT (5755) +49
  • Education (48)
  • Notice
  • All (20292) +229
    • AI (3103) +13
    • DevOps (906) +6
    • Software (10480) +161
    • IT (5755) +49
    • Education (48)
  • Notice
  • All (20292) +229
  • AI (3103) +13
  • DevOps (906) +6
  • Software (10480) +161
  • IT (5755) +49
  • Education (48)
  • Notice
Sources Tags Search
한국어 English 中文
  • 1小时前 · software

    魔鬼的 Clean Code:从迁移一个20年历史的遗留项目中得到的教训

    TL;DR 编写测试。除非尝试为代码编写单元测试,否则你不会真正意识到代码有多混乱。了解你的注解。当使用 @Gett... 时不要使用 @Data。

    #legacy code #code migration #microservices #unit testing #refactoring #Java #JSP #annotations #code quality
  • 11小时前 · software

    在 Vue 应用中该进行单元测试的内容(以及不该触碰的部分)

    单元测试常常被视为项目清单上的一个复选框。团队要么尝试对所有内容进行测试,要么完全避免测试,因为他们觉得测试会让进度变慢,……

    #Vue #unit testing #testing strategy #frontend development #JavaScript #test-driven development
  • 6天前 · software

    为什么 Laravel 不能猜测你的 Factory 关系

    Laravel factories 让测试变得轻而易举,尤其是在模型之间存在关联时。然而,当一个模型对同一目标模型有多个关联时,...

    #laravel #php #eloquent #model-factories #testing #relationships #unit-testing
  • 1周前 · software

    当测试持续通过,但设计停滞不前

    停滞的设计问题 当我实践 TDD 时,总会遇到这样一个时刻:测试通过,覆盖率提升,重构感觉很安全。然而,在某些 …

    #test-driven development #TDD #software design #refactoring #unit testing #code quality #design stagnation
  • 1周前 · software

    Go的秘密生活:测试

    第13章:真理表 周三的雨在档案室的窗户上敲出稳定的节奏,把曼哈顿的天际线模糊成灰色的斑块和条纹……

    #Go #testing #unit testing #debugging #software development #programming
  • 1周前 · software

    阻止不稳定测试:在 Laravel 测试中冻结时间

    《Stop Flaky Tests: Freeze Time in Laravel Testing》封面图片

    #Laravel #testing #flaky-tests #freeze-time #PHP #unit-testing #test-automation
  • 1周前 · software

    测试数据库逻辑:该测试什么、该跳过什么以及为何重要

    在 Laravel 中测试数据库逻辑和迁移 数据库逻辑是应用程序中最难正确测试的部分之一。并不是因为它很陌生或复杂。

    #testing #database #Laravel #migrations #PHP #unit testing #integration testing #software quality
  • 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
  • 2周前 · software

    MiniScript 2026 路线图

    2026 展望 随着 2025 接近尾声,是时候展望 2026 了!MiniScript 已经八岁。许多编程语言真的进入了它们的……

    #MiniScript #roadmap #version 2.0 #compiler rewrite #performance #garbage collection #C++ #C# #virtual machine #unit testing
  • 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
  • 3周前 · software

    C# 架构精通 — 重构遗留 ASP.NET Core 应用以实现清洁架构(第10部分)

    介绍 大多数 ASP.NET Core 系统并不是一开始就出现故障——它们是逐渐变得故障的。遗留系统很少是糟糕开发者的结果;它们是由于…

    #C# #ASP.NET Core #Clean Architecture #Refactoring #Legacy Code #.NET #Unit Testing #Software Design
  • 3周前 · software

    C# 架构精通 — 清洁架构中的测试策略 (.NET) (第7部分)

    你在测试什么:传统系统从外部向内部进行测试。Clean Architecture 则从内部向外部进行测试。优先顺序:1. Domain logic 2. Application use cases

    #C# #.NET #Clean Architecture #testing strategy #unit testing #integration testing #software architecture #test pyramid

Newer posts

Older posts
EUNO.NEWS
RSS GitHub © 2026