Implement fixture generation for testing.