T.apex

T.apex is simply the Swiss knife for unit testing in Apex.

Why T.apex?

T.apex adopts expecting assertion style to make unit test codes more readable. Besides, T.apex provides powerful and easy mocking framework to make unit test easier. And T.apex has a built-in data generator to help you generate all kinds of random test data, including SObjects.

BDD Style

T.apex provides a BDD-style assertion to Apex unit tests.

Easy Mock

T.apex makes mocking especially easy and powerful.

Auto-Gen Test Data

T.apex helps generate all kinds of test data.

Easy Unit Testing

It's easy to pick T.apex up, and T.apex makes your unit test easier than ever.

BDD Style

T.apex uses 'expect xxx to xxx' style assertion to make test code more readable.

Fluent API

Easy Mocking

T.apex establishes and verifies mock objects in just few lines of code.

Collection Support

Auto-Gen Test Data

T.apex helps populate random test data to faciliate unit tests.

Function Composition