Repository navigation
Split the long tests of the library core into smaller ones - #126
Merged
Merged
Conversation
…them easier to read - Split the test of deleted and unreadable rows into three: a readable row, a deleted row and an unreadable row - Split the comparison of calculated columns with Jackcess into three tests by the type of the result, with the expected values written column by column - Make the Boolean column of the null mask test a function, and drop the reading of the definition of MSysObjects, which the test does not use - Check the types of the values of MSysObjects with matches! rather than match Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Make the reading of the names of AutoNumber columns a function, rather than closures in the test - Split the test into three, of Jet3, of complex columns and of ACE, which skip_if_missing! skips when the test data is absent Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ke it easier to read - Split the twelve errors into three tests: names not found, invalid data, and passwords and encryption - Write each error with the texts its message holds as a table, checked by one function Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… it compares, to make it easier to read - Make the comparisons of forms and reports, of macros and of the VBA project functions, each giving how many it compared - Leave the test to call the three functions for each database and add up the counts Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ier to read - Make the two closures of the test, which read the names of the columns and the Description, functions outside it Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Check the four names that should be quoted in one loop over them - Write the definition of each column on one line Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CoverageFor c74b0c4. |
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.assert_msysobjects_rowstable_rows_pass_over_deleted_and_unreadable_rowsdispatch_boolean_from_null_maskcalculated_field_values_match_jackcessis_auto_number_of_real_columnsfile_error_display_all_variantsthe_in_functions_read_what_the_others_readproperties_of_the_object_of_a_typejapanese_identifiers_sqlite🤖 Generated with Claude Code