Skip to content

Conversation

@octo
Copy link
Contributor

@octo octo commented Nov 22, 2024

This does two things:

  1. The creation of new test cases is simplified by generating all necessary files and a stub test case in command_test.go. Previously only the directories were created. With this change, TESTNAME=my_new_test make command_test_case integrationtest will succeed, i.e. the generated test case passes.
  2. Integration tests and their maintenance functions are documented.

@braydonk braydonk merged commit dff1eaa into google:main Nov 26, 2024
7 checks passed
steeef pushed a commit to steeef/yamlfmt that referenced this pull request Sep 5, 2025
* integrationtest: Add script to generate a new integration test.

* docs: Add documentation for creating and using yamlfmt's integration tests.
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.

3 participants