google / yamlfmt

An extensible command line tool or library to format yaml files.
Apache License 2.0
1.2k stars 48 forks source link

Document and improve integration test case creation. #221

Closed octo closed 1 week ago

octo commented 1 week ago

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.