Skip to content

test: fix golden file path collisions and add map helper integration tests - #12

Merged
thisisibrahimd merged 2 commits into
mainfrom
test-fix-golden-file-paths-and-map-helper-tests
Sep 3, 2026
Merged

thisisibrahimd merged 2 commits into
mainfrom
test-fix-golden-file-paths-and-map-helper-tests

Conversation

@thisisibrahimd

Copy link
Copy Markdown
Owner

Summary

  • Flatten golden test directories and prefix filenames with parent test name to avoid file collisions
  • Update assertRender calls to pass test name explicitly
  • Add integration tests for mapXyz and mapXyzByName helpers with golden fixtures
  • Document nested map helper limitation in README

Test Plan

make test

All tests passing (10 packages).

…tests

- Flatten golden test directories and prefix filenames with parent test
  name to avoid file collisions
- Update assertRender calls to pass test name explicitly
- Add integration tests for mapXyz and mapXyzByName helpers with golden fixtures
- Document nested map helper limitation in README
- Add flattened golden test fixtures for builder and docsonnet tests
- Add golden fixtures for jsonschemacompiler tests
- Add map helper integration test with fixtures and generator script
@thisisibrahimd
thisisibrahimd merged commit c20ccaf into main Sep 3, 2026
1 check passed
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