Recipya has extensive test suites to ensure the software works as expected. The tests are run during the Go workflow when you open a pull request against the main branch.

Execute the following when you wish to run all the tests locally.

task test-no-build

Writing Tests

It is of vital important to write tests when submitting pull requests. This article explains why unit testing matters.

You will see many files under the internal folder that finish with *_test.go. That is where tests are written. Please refer to the development workflow section for more information and examples.

Please feel free to add as many tests as you deem fit to any of those files.