Best practices for testing a Forge app

Hello there,

initially, creating a Forge app seems straightforward, but as the code complexity grows, the necessity for implementing tests becomes evident. Aligning with the testing pyramid, I aim to incorporate unit tests, service tests (potentially extending to React component tests), and end-to-end tests.

I am seeking guidance, best practices, or insights regarding these testing approaches. Specifically, I am interested in strategies for testing the Forge backend. Any suggestions, experiences, or comments would be greatly appreciated!

Cheers,
paul

3 Likes