func GetTestFixture(it *assert.Assertions, filename string, opts ...FixtureOption) []byte {
	fc := NewFixtureConfig(opts...)
	path := filepath.Join(fc.Directory, filename)
	data, err := os.ReadFile(path)
	it.Nil(err, fmt.Sprintf("Failed reading Test Fixture File %q", path))
	return data
}
// GetTestFixture opens a file in the test fixtures directory. This
// relies on the present working directory being set to the current
// directory under test and will default to `./testdata` when
// reading files.
GetTestFixture opens a file in the test fixtures directory. This
relies on the present working directory being set to the current
directory under test and will default to `./testdata` when
reading files.
// GetTestFixture opens a file in the test fixtures directory . This // relies on the present working directory being set to the current // directory under test and will default to ` . / testdata ` when // reading files .
func GetTestFixture(it *assert.Assertions, filename string, opts ...FixtureOption) []byte {
	fc := NewFixtureConfig(opts...)
	path := filepath.Join(fc.Directory, filename)
	data, err := os.ReadFile(path)
	it.Nil(err, fmt.Sprintf("Failed reading Test Fixture File %q", path))
	return data
}
func GetTestFixture ( it * assert . Assertions , filename string , opts ... FixtureOption ) [ ] byte { fc := NewFixtureConfig ( opts ... ) path := filepath . Join ( fc . Directory , filename ) data , err := os . ReadFile ( path ) it . Nil ( err , fmt . Sprintf ( " " , path ) ) return data }
GetTestFixture opens a file in the test fixtures directory.
GetTestFixture opens a file in the test fixtures directory .