Skip to content

test: rename the fixtures directory to testdata - #283

Merged
fredbi merged 1 commit into
go-openapi:masterfrom
fredbi:test/move-fixtures-to-testdata
Aug 16, 2026
Merged

test: rename the fixtures directory to testdata#283
fredbi merged 1 commit into
go-openapi:masterfrom
fredbi:test/move-fixtures-to-testdata

Conversation

@fredbi

@fredbi fredbi commented Aug 16, 2026

Copy link
Copy Markdown
Member

Test material now lives in testdata/. The Go toolchain gives testdata a defined meaning — package patterns, vet and the build all skip it — whereas fixtures/ was ours alone.

update-fixtures.sh, which refreshes the JSON-Schema-Test-Suite copy, is renamed to update-testdata.sh and writes to the new location. Nothing referenced it by name.

Comments that name the directory are updated; those using "fixtures" for test material in general keep their wording. The x-go-package in go-swagger/bugs/981 follows the same move upstream, so it now reads go-swagger/testdata/bugs/981.

Change type

Please select: 🆕 New feature or enhancement|🔧 Bug fix'|📃 Documentation update

Short description

Fixes

Full description

Checklist

  • I have signed all my commits with my name and email (see DCO. This does not require a PGP-signed commit
  • I have rebased and squashed my work, so only one commit remains
  • I have added tests to cover my changes.
  • I have properly enriched go doc comments in code.
  • I have properly documented any breaking change.

Test material now lives in testdata/. The Go toolchain gives testdata a
defined meaning — package patterns, vet and the build all skip it —
whereas fixtures/ was ours alone.

update-fixtures.sh, which refreshes the JSON-Schema-Test-Suite copy, is
renamed to update-testdata.sh and writes to the new location. Nothing
referenced it by name.

Comments that name the directory are updated; those using "fixtures" for
test material in general keep their wording. The x-go-package in
go-swagger/bugs/981 follows the same move upstream, so it now reads
go-swagger/testdata/bugs/981.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@fredbi
fredbi merged commit e142b51 into go-openapi:master Aug 16, 2026
14 of 15 checks passed
@fredbi
fredbi deleted the test/move-fixtures-to-testdata branch August 16, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant