# writing-tests > MANDATORY when writing tests. Test behavior, not implementation. Functional tests are primary. Unit tests ONLY for state mutations. Includes fixing flaky tests with condition-based waiting. - Author: Jordan Parker - Repository: heyJordanParker/dotfiles - Version: 20260122091127 - Stars: 4 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/heyJordanParker/dotfiles - Web: https://mule.run/skillshub/@@heyJordanParker/dotfiles~writing-tests:20260122091127