<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Apex on Tech News Feed</title>
    <link>https://news.dhphong.com/tags/apex/</link>
    <description>Recent content in Apex on Tech News Feed</description>
    <generator>Hugo -- 0.131.0</generator>
    <language>vi</language>
    <lastBuildDate>Mon, 27 Apr 2026 00:06:02 +0700</lastBuildDate>
    <atom:link href="https://news.dhphong.com/tags/apex/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>[Salesforce Engineering] How We Increased Code Coverage by 28% Without Writing a Single Test</title>
      <link>https://news.dhphong.com/posts/2026-04-26-salesforce-increased-code-coverage-28-percent-without-writing-tests/</link>
      <pubDate>Mon, 27 Apr 2026 00:06:02 +0700</pubDate>
      <guid>https://news.dhphong.com/posts/2026-04-26-salesforce-increased-code-coverage-28-percent-without-writing-tests/</guid>
      <description>Nguồn: Salesforce Engineering
Tóm tắt Khi Salesforce tái cấu trúc test harness của mình vào năm 2022, code coverage của codebase Apex đã giảm 28 điểm phần trăm. Thay vì viết thêm test mới (do giới hạn nguồn lực), nhóm kỹ thuật đã tìm cách phục hồi toàn bộ độ phủ đó chỉ bằng cách cải thiện cách thức chạy các test hiện có.
Giải pháp chính đầu tiên là thêm annotation @IsTest(SeeAllData=false) vào tất cả test method.</description>
    </item>
  </channel>
</rss>
