fix(compiled-languages-rule-fine-tuning): Updates the rules to acoomo… #86
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thank you so much for making this, I enjoyed working with this tool. 🙏
PR tldr;
Basically the RULES at the moment does a tdd-guard block loop on compile errors from compiled languages like Swift/Go/Java etc., This PR adjusts the rules file to accomodate the compiled languages.
I was bit torn between updating the RULES vs having a custom instructions.md file, but then chose the former based on the bare minimum type information need for the compiled languages.
Add a test => (1) fails => add the type in the compiled language => tdd guard blocks calling 'over implementation.'
We cannot escape this loop unless we turn off guard off momentarily with
tdd-guard offand you let the type finish and continue the TDD loop. No data/test.json file created and loop continues.Also see: https://github.com/nizos/tdd-guard/pull/80/files#diff-5774d006611631734758deb6a9dfeb2e8d1cc694f425c0d343bc3e35b4f32d67R31
Local test results with -- Go:
COMPILE_FAILURE_test.json
STOPPED_AT_COMPILE_SAFE_ASSERT_FAILURE.json
PASS_test.json
AI Generated instructions below:
TESTING_COMPILED_LANGUAGE_SUPPORT.md
AI Generated Sample Project guided by tdd-guard:
todo-app.zip