A few improvements to our tests to make them more robust and maintainable:
[ ] Put each inspection test into a separate module
[ ] Put a JSON golden file with expected inspections for this file
[ ] Implement testing to compare inspections from files with golden output
[ ] Implement golden-generator tool to create/update golden tests automatically
The only challenging part of this plan is to come up with some solution for filtering irrelevant inspections for each module, so we have only relevant test-cases.
A few improvements to our tests to make them more robust and maintainable:
The only challenging part of this plan is to come up with some solution for filtering irrelevant inspections for each module, so we have only relevant test-cases.