ApexBlueprint

Transform your Apex testing with a declarative data builder.

Declarative API & Visual Hierarchy

Express the desired state of your data, not the steps to create it. The code structure visually maps to your data's parent-child relationships, making complex scenarios instantly understandable.

Automatic Dependency Resolution

Powered by a topological sort algorithm, the framework automatically determines the optimal insertion order based on your definitions. Stop worrying about which record needs to be inserted first.

Flexible Customization with Templates

Reuse common record setups with .template() and safely override only the necessary fields with .set(). Say goodbye to "flag hell" and an endless proliferation of factory methods.

Powerful Bulk Generation

Effortlessly generate multiple records with different data patterns using the .times() method and sequence placeholders ({#}, {A}, {a}). Creating complex data sets has never been simpler.

From Procedural Pain to Declarative Power

❌ The Problems with TestDataFactory

⚠️Verbose "ID bucket brigades" for parent-child relationships.

⚠️Unmaintainable method proliferation (createOpp1, createOpp2...).

⚠️The final data structure is difficult to visualize from the code.

⚠️Slow tests that waste governor limits with unnecessary records.

✅ The ApexBlueprint Solution

Executable Specifications: Your test code becomes a readable blueprint of your data.

Zero Cognitive Load: The framework handles all dependencies, letting you focus on what you need.

Reusable Blueprints: Create clean, sustainable variations with template and set.

Fast, Isolated Tests: Enables DB-free testing for lightning-fast feedback loops.

Transform Your Test Data Creation

Move from tedious procedures to creative design. Free yourself from the pains of test data setup and focus on what truly matters: building quality applications.