SOQL

Discover how to write powerful and efficient SOQL queries for Salesforce. Learn tips to optimize performance and handle complex scenarios.

Salesforce Mock in Apex Tests
February 18, 2025

Salesforce Mock in Apex Tests

Executing tests takes forever? You don’t have integrations in development environments? Your tests give different results depending on the instance? No worries, check if you can benefit from Mocking or Stubbing in your tests and more!

Jan Śledziewski
Jan Śledziewski

Senior Salesforce Developer

Why do you need a Apex Selector Layer?

Why do you need a Apex Selector Layer?

A Selector Layer centralizes SOQL queries, ensuring consistency, FLS, sharing rule enforcement, and easier testing with mocking. It avoids duplication, supports caching, and simplifies updates, making your code cleaner, scalable, and more maintainable.

Piotr Gajek
Piotr Gajek

Senior Salesforce Developer

SOQL Lib

SOQL Lib

The SOQL Lib provides functional constructs for SOQL queries in Apex. Use the SOQL Lib as a Selector Layer on your project.

Piotr Gajek
Piotr Gajek

Senior Salesforce Developer

Showing 3 of 3 results