In a development environment, you can use LightAPI to perform a unit test. For more information, see Take HSF unit tests.