Repository navigation
Split the long tests of forms and macros into smaller ones - #127
Merged
Merged
Conversation
…them easier to read - Split the test of a form and a report of the same name into three, of the properties, of the streams and of a type the name does not have, with the caption and the controls read by functions - Split the comparison with SaveAsText into three functions, of the main keys, of the named properties and of the controls, called by two tests, of the form and of the report Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…make them easier to read - Split the test of embedded macros into two, of the statements and of the grids - Split the test of generated data macros into two, of the table events and of the named data macro - Split the test of macro grids into two, of mcrSimple and of the conditions, with a function for a row of an action alone - Split the test of the macros of Access 97 into four, of the names, the statements, the grid and the autokeys, with the expected statements in a function - Name the three generated databases in one constant Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…to read - Make the reading of the SaveAsText output of forms and reports in tblGenExport, and the cutting of its EmMacro blocks, functions Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Make the check of a row of the log a function, with the two rejected arms, which do the same, in one Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CoverageFor 351f97e. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
scripts/quality-check.sh(CC ≥ 10, cognitive ≥ 10 or SLOC ≥ 50). Each is now split by what it checks, or has its helpers and expected values moved out of it, and none of them is above the thresholds.MACRO_GENERATED_FILES, whichread_embedded_macros_generated_filesuses too.form_and_report_of_the_same_nameform_and_report_match_saveastext_of_accessread_embedded_macros_real_filesread_data_macros_generated_filesread_macro_grid_real_filesaccess_97_macrosembedded_macros_match_access_output_in_generated_test_dataargument_counts_match_the_generated_log🤖 Generated with Claude Code