#testing
5 articles tagged with #testing
Temporal vs date-fns 4: Node 26 LTS Got Every DST Edge Right, date-fns Didn't
Node 26 is LTS and ships Temporal by default. I ran it against date-fns 4.4 + @date-fns/tz on 2,075 wall times around 83 DST changes, under 20 server time zones. Temporal: 0 wrong instants. date-fns: up to 107, depending on the server's TZ.
vue-tsc vs TypeScript 7.1 Content Mappers: 2.7x Faster, Stricter by Default
TypeScript 7.1 beta lets plain tsc type-check .vue files through a content mapper. I ran it against vue-tsc 3.3 on 1,023 files and 20 seeded bugs. Same bugs caught, 2.7x faster, and two bugs vue-tsc misses by default.
Pyrefly 1.5 vs ty: Unconfigured, Pyrefly Caught 2 of My 25 Bugs
Pyrefly 1.5 shipped on November 19 with 100% typing-spec conformance. I ran it against ty 0.0.109 on 25 seeded bugs and on SQLAlchemy. One missing config file changed everything.
Vitest 5 vs Jest 30: Jest Won My Benchmark Until I Changed One Flag
I ran the same 2,700-test TypeScript suite on Vitest 5.1 and Jest 30.5. Out of the box, Jest was 3.6x faster. One Vitest flag flipped the result, and it has a real cost.
Why I Stopped Writing Unit Tests for Spring Boot APIs โ And Started Using Testcontainers
I spent years mocking repositories, faking transactions, and testing things that were already tested. Then I switched to integration tests with real PostgreSQL containers and caught 3x more bugs. Here's the honest case for Testcontainers in Spring Boot.