Remove all test fixtures #3219

Closed
opened 2025-12-29 18:26:49 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 24, 2020).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Remove all test "fixtures." These are file which contain static object definitions. Most tests no longer use these but there are a few old tests that do.

Justification

Fixtures are very difficult to maintain long-term. It is preferable to create test data dynamically within the tests itself rather import data stored in JSON files.

Originally created by @jeremystretch on GitHub (Jan 24, 2020). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Remove all test "fixtures." These are file which contain static object definitions. Most tests no longer use these but there are a few old tests that do. ### Justification Fixtures are very difficult to maintain long-term. It is preferable to create test data dynamically within the tests itself rather import data stored in JSON files.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 18:26:49 +01:00
adam closed this issue 2025-12-29 18:26:49 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3219