User Tools

Site Tools


fixture

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
fixture [2025/09/09 19:24] plidafixture [2025/09/09 19:24] (current) plida
Line 15: Line 15:
   - The fixtures should be minimal — just what is needed for the tests.   - The fixtures should be minimal — just what is needed for the tests.
   - Use SetUp/Teardown to clear resources.   - Use SetUp/Teardown to clear resources.
-  - Don't overload the fixtures with logic — they are for preparation, not for testing. +  - In Python and Go, it is convenient to use yield/defer to free up resources.
-  - Python and Go, it is convenient to use yield/defer to free up resources.+
fixture.1757445860.txt.gz · Last modified: by plida