testaro 62.0.2 → 62.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UPGRADES.md +11 -0
- package/package.json +1 -1
package/UPGRADES.md
CHANGED
|
@@ -3292,3 +3292,14 @@ All of the tests with elapsed times longer than 2 seconds were not yet refactore
|
|
|
3292
3292
|
Credit for the speed improvement in refactored tests is apparently owed to the encapsulation of the entire test logic in a browser function, versus the repeated element-by-element execution of the same logic in Node.js with Playwright methods.
|
|
3293
3293
|
|
|
3294
3294
|
Evidence for this hypothesis is provided by the change in elapsed time after refactoring of the `focOp` and `opFoc` tests. These two tests consumed 18 seconds before the refactoring. The refactoring combined them into a single `focAndOp` test with functionality equivalent to both original tests. The refactored test on the same target consumed 2 seconds, even though it reported and itemized 223 violations.
|
|
3295
|
+
|
|
3296
|
+
## Speed improvement for nuVnu tool
|
|
3297
|
+
|
|
3298
|
+
The `nuVnu` tool has substantially longer elapsed times when performed on a virtual private server by Kilotest than when performed on a dedicated local host. Testing indicates that the difference is due largely to the overhead in the handling of the `vnu.check` method.
|
|
3299
|
+
|
|
3300
|
+
A conceptual outline of a possible shortcut (by GPT-5.2) is:
|
|
3301
|
+
|
|
3302
|
+
- spawn(javaPath, ['-jar', jarPath, '--format', 'json', '--stdout', pagePath], {stdio: ['ignore', outFd, 'pipe']})
|
|
3303
|
+
- collect stderr (or write it to a file too)
|
|
3304
|
+
- wait for close event
|
|
3305
|
+
- then read /tmp/out.json and parse it
|