Mock DML Statements in Apex Tests
Built-in mocking support lets you test your code without database operations, making tests faster and more isolated.
Apex DML Library
A powerful, fluent API for Salesforce DML operations with built-in mocking support