# writing-tests > Guidelines on writing tests for the backend - Author: Lukin - Repository: aiskillstore/marketplace - Version: 20260122205935 - Stars: 177 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/aiskillstore/marketplace - Web: https://mule.run/skillshub/@@aiskillstore/marketplace~writing-tests:20260122205935 --- --- 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.