# writing-tests > Guidelines on writing tests for the backend - Author: Tuomas Salmi - Repository: Crossbill-Highlights/crossbill-web - Version: 20260120211443 - Stars: 9 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/Crossbill-Highlights/crossbill-web - Web: https://mule.run/skillshub/@@Crossbill-Highlights/crossbill-web~writing-tests:20260120211443 --- --- name: writing-tests description: Guidelines on writing tests for the backend --- When writing tests for the backend, follow these guidelines to ensure comprehensive and maintainable test coverage: - Try to keep individual tests cases short. Setup common test data using fixtures. - When tests need setup, use fixtures and functions to avoid repeating same steps in multiple tests.