Skip to content

Whiskey doesn't report exceptions thrown in child processes that originate outside of a test. #57

Open
@sam-falvo

Description

@sam-falvo

These exceptions cause the test runner to time out, without providing a sensible error message.

Note to myself on how to implement (current brain-dump):

To fix, it looks like we need to insert code somewhere in lib/run_test_file.js close to lines 98-102, to catch any exception, stringify it, and send it along the IPC channel back to the test runner proper. Then, inside the test runner, we need to somehow decode this and provide a sensible (and visible) error diagnostic for the user. Such errors should stop the test run cold as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions