Skip to content

Investigate existing Extendables framework test suite pass-ability #10

@daluu

Description

@daluu

Unless I'm executing the tests incorrectly...(as I'm just running the runner.someName.jsx scripts under test directory of Extendables via ExtendScript toolkit)...

It appears at last check, the test framework's included test suite doesn't fully pass, under Adobe suite (executed from ExtendScript toolkit) CS6. The failed test cases are noted below, with some additional info.

Would be nice to look into whether the suite ever 100% passed before, and under what Adobe versions does the test get failures, etc. Would be nice to get community input on this as I don't have all the supported/supportable Adobe versions to test with.

Test framework failures:

is entirely CommonJS-compliant
Expected 'index' to equal 'package-b'

has a working code sample that does XML traversal
SyntaxError: Expected: ) in ~/Documents/GitHub/Extendables/examples/xml-traversal.jsx (line 3)

OS: Windows 7/64 6.1 Service Pack 1 (32-bit emulation)
ExtendScript build: 66.489054
ExtendScript version: 4.2.12
path: ~
locale: en_US
app: ExtendScript Toolkit
app version: 3.8

Package test failures:

Template package
has unit tests
Expected false to be truthy.

HTTP requests
has a high-level shortcut for GET requests
Expected 404 to equal 200.
has a high-level shortcut for HEAD requests
Expected 404 to equal 200.
has a high-level shortcut for POST requests
Expected 404 to equal 200.
has a high-level shortcut for DEL requests
Expected 404 to equal 200.
can follow redirects
Expected 404 to equal 200.
can follow redirects manually, using the .follow() method
Expected 404 to equal 200.
is thoroughly stress-tested
Expected 404 to equal 200.

Patch test failures:

runner.patches.jsx fails to complete test execution with the following exception in ExtendScript toolkit:

"result.toLowerCase is not a function" for the following line of code:
line 130 of object.conversions.jsx: 'lower': function () { return result.toLowerCase(); },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions