Unit tests for Forge

Hi there,

is there some documentation how to handle/implement Unit tests in Forge app? How to run them while deploying ?

Thank you

3 Likes

Any update? Which framework is recommended to test Forge app?

Hi,

we are using Jest (https://jestjs.io/). I do not know if it is recommended or not, but it is doing the job :wink: I did not find any documentation about Forge and UT. So, it was it bit try and error…

2 Likes

Jest is a fine choice. Any unit testing framework should be fine to use.

Jest has some documentation on testing React with it and since Forge UI Kit uses React would be a sound idea.