TwiScan
Hot
Communities
Account collections
Login
Register
English
日本語
한국의
简体中文
繁体中文
Register and share your invite link to earn from video plays and referrals.
Register now
卡颂
@kasong2048
🥴 OPC 5 年 📖《React设计原理》作者
Joined June 2020
172
Following
13.7K
Followers
卡颂
@kasong2048
2026.10.02 12:01
表面上看,TDD红绿重构的流程能将 测试 作为需求实现的硬门槛(红灯没法继续推进),但实际情况是:agent 为了推进实现,有强烈意愿去构造 expect(true) 的废用例 核心问题在于 —— 你不能将用例当作代码实现的免费添头 更具体来说,代码是在 spec 指导下实现的。类似的,用例也需要在指导下实现 不同类型用例的来源不同,单测的来源是“代码实现”,e2e 的来源是用户行为。 如果你采用 BDD 的开发模式,那 spec 中确定的用户行为天然可以作为 e2e 的指导,这样生成的用例才是可用的
Show more
0
0
5
27
2
Forward to community
Most Popular Users
Tibo
@thsottiaux
917.2K Followers
TheStreet
@TheStreet
1.2M Followers
The Wall Street Journal
@WSJ
22.3M Followers
Seeking Alpha
@SeekingAlpha
343.7K Followers
CNBC
@CNBC
6.3M Followers
Serenity
@aleabitoreddit
1.1M Followers
Benzinga
@Benzinga
345.1K Followers
Stocktwits
@Stocktwits
1.2M Followers
unusual_whales
@unusual_whales
5.4M Followers
zerohedge
@zerohedge
3.4M Followers
Yahoo Finance
@YahooFinance
2.1M Followers
New York Post
@nypost
4.2M Followers
Elon Musk
@elonmusk
241.5M Followers
Reuters
@Reuters
26.4M Followers
OpenAI
@OpenAI
5.5M Followers