unit-testing

Tag

Cards List
#unit-testing

Some quick thoughts on Unit Testing ActivityPub

Lobsters Hottest ↗ · 2026-10-17 Cached

作者分享了为 ActivityPub 机器人框架(ActivityBot,NLnet 资助项目)编写单元测试时遇到的四大难题:用户名与域名校验、消息验证、HTTP 签名的生成与重放,以及与外部服务器的真实互操作测试。

0 favorites 0 likes
#unit-testing

Unit tests mark territory more than squash bugs

Lobsters Hottest ↗ · 2026-09-18 Cached

The article argues that unit tests in software development primarily serve to mark territory and maintain code stability in collaborative environments, rather than effectively finding bugs, compared to hardware testing practices.

0 favorites 0 likes
#unit-testing

Change-Detector Tests Considered Harmful (2015)

Lobsters Hottest ↗ · 2026-08-28 Cached

The article critiques change-detector tests in software development, advocating for behavior-based testing while acknowledging practical challenges in service-oriented systems.

0 favorites 0 likes
#unit-testing

Thinking about tests: assertions and matchers

Lobsters Hottest ↗ · 2026-08-17 Cached

This article reflects on the design of test assertions and matchers in software development, emphasizing their role in writing readable and efficient test code, particularly in Ruby.

0 favorites 0 likes
#unit-testing

Modernizing a 25-year-old minimal C++ unit testing framework (Part 2)

Hacker News Top ↗ · 2026-07-02 Cached

The article continues the series on modernizing a 25-year-old minimal C++ unit testing framework, focusing on using inline variables and modules to fix issues with file-specific counters and header dependencies.

0 favorites 0 likes
#unit-testing

@copyconstruct: end-to-end testing > unit tests, in the vibecoding era. A massive, almost entirely agent-coded refactor passed all unit…

X AI KOLs Following ↗ · 2026-05-13 Cached

A developer argues that end-to-end testing is more important than unit tests in the age of AI coding agents, after an agent-coded refactor passed all unit tests but broke a critical feature that was only caught by manual end-to-end checks.

0 favorites 0 likes
#unit-testing

All the ways to mock your Rust code

Lobsters Hottest ↗ · 2026-05-12 Cached

A tutorial covering various strategies for mocking network calls in Rust, using the example of a Kubernetes controller that emits events, with emphasis on not degrading production code for testability.

0 favorites 0 likes
#unit-testing

google/googletest

GitHub Trending (daily) ↗ · 2026-08-27 Cached

GoogleTest, Google's C++ test framework, has released version 1.18.0 which requires at least C++17, along with documentation updates and ongoing improvements.

0 favorites 0 likes
#unit-testing

catchorg/Catch2

GitHub Trending (daily) ↗ · 2026-07-10 Cached

Catch2 is a C++ unit testing framework that also provides micro-benchmarking and BDD macros, known for its natural syntax.

0 favorites 0 likes
← Back to home

Submit Feedback