Repository navigation
Package test projects for tbRegExp and tbFileSysTools, callout labels, and both packages moved to their newest versions - #237
Merged
Merged
Conversation
…r and WebView2 profile once it ends, and tbbuild's work folder after each run (a successful --build keeps out\)
…sion dates dropped
… with the string, so long matches work (the 3,300-character limit is gone); SearchAborted reports a search that gave up
…GetSpecialFolder returns a Folder; Item raises 53, 76 and 68, GetFileVersion 53 for a missing file, writes to a read-only file raise 70 (its WARNING gone), DeleteFolder raises 70 as FSO does
…ibuted section's NOTEs and WARNINGs with [TestCase]s that check the correct behaviour (Expect.twin, generated RunAll, expect.json); package-tests.bat runs them (fixed / changed / documented), check_package_tests.mjs in test.bat ties each callout to its cases, the build publishes each project as <Package>-tests.twinproj with the package linked; tbrun --only; the probe harnesses move under it
…given, never all by default; --hang-timeout and --all-packages read under their camelCase keys; check_cli cases for both tools; WIP.md: Test cases after See Also on a contributed landing page
…-> after it) ties a statement that is not a callout to its cases; a NOTE or WARNING is only for a real difference or limit, and a silent difference from the replaced object is a NOTE (owner)
… win32 and win64), markers and regions on its pages, Test cases section; IsValid's note adds LastErrorNumber 0 for a{2,1}; SearchAborted's timings are a few seconds and a second or two
…ame on win32 and win64), markers on its pages, Test cases section; GetRelativePath fails from a 259-character base, CreateFolder nul raises 76, MoveFolder's reserved-name errors, GetFileEncoding's hiragana and kanji; WARNING: MoveFile to nul discards the file
…es to after [!TYPE] (> [!WARNING] BETA 1005, 1.0.0.4, since BETA 984), drawn as tags; the build refuses any other label and a version other than the section's indexed_from; analyze lists the callouts a new build or version leaves to check again; 215 callouts moved to labels
…one (198 labelled with the section's version), and the build refuses one without
…ge (drawn as no tag, never listed to check again); tbFileSysTools' short-name WARNING is timeless and says which procedures the Scripting Runtime shares
…Windows and registry facts, stated design, API contracts; owner); the console packages' NOTEs about the documentation's own tools are gone
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.
Adds a test project behind each contributed package's NOTEs and WARNINGs, gives every callout a label naming the build or version it applies to, and brings tbRegExp and tbFileSysTools up to their newest versions.
test/package-tests/<Package>/holds[TestCase]s that check the correct behaviour, so a defect is a failing case recorded inexpect.json.package-tests.batruns them as 32-bit and 64-bit and judges each case documented, fixed or changed. A package is named, or--all-packagesis given; there is no default.check_package_tests.mjs(intest.bat) ties each NOTE and WARNING to its cases through a<!-- test: ... -->marker. A<!-- test -->region does the same for prose that is not a callout.<Package>-tests.twinprojwith the package linked and none of its code in it.tbrun --onlyruns a single case.MoveFiletonuldiscards the file.[!TYPE](> [!WARNING] BETA 1005,> [!NOTE] 1.0.0.4,> [!WARNING] timeless) and the build draws the label as a tag.indexed_from, and an unlabelled callout in a contributed section.analyzelists the callouts a new build or version leaves to check again.timeless. The console packages' NOTEs about the documentation's own tools are removed.SearchAbortedreports a search that gave up.GetSpecialFolderPathandFolders.Add, andGetSpecialFolderreturns aFolder.Item,GetFileVersion, writes to a read-only file andDeleteFolderraise the FSO's errors.tbbuildand every harness-started IDE remove their temp folder and WebView2 profile once the IDE ends, andtbbuildremoves its work folder after each run. The WIP notes lose their history and keep only what to do and why.