question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Example testling test fails with unhandled error

See original GitHub issue

The example test in ./example fails with an unhandled error.

Setup

node -v
v0.10.25
npm -v 
1.3.23
npm install -g testling # installs 1.5.9
npm install -g browserify # install 3.23.1
git clone git@github.com:substack/testling.git
cd testling && npm install

Test

browserify example/test.js | testling                                                                       

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:988:11)
    at Process.ChildProcess._handle.onexit (child_process.js:779:34)

Expected results are a the output in the README

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
shapeshedcommented, Jan 15, 2020

Not resolved but the ticket has been open for 4.5 years. If you would like to reopen please do so.

2reactions
gsfcommented, Jun 28, 2014

Confirmed on Arch Linux as well, where a pacman -S xorg-server-xvfb allows the command to run.

Should xvfb be listed as a requirement in the README? Or is there a way to fork out to the browser without it? Note that without xvfb, testling -u works (as has been mentioned), as does testling -x chromium.

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular - Test Failing Because of Unhandled Promise Rejection
I have written a test in Jasmine to show an alert when any kind of error for a certain service exists. The code...
Read more >
Testing unhandled exception handling in jasmine@v3.6.0
In jasmine@v3.6.0 it fails due to the new feature Route unhandled promise rejections to onerror from #1778. Possible Solution. Ideally there ...
Read more >
Unhandled Error when trying to run list remotely in Test Studio
I'm trying to run a test list on a Execution + Scheduling server but receiving an error during the upload process "Running test...
Read more >
Testing errors in Go - Bitfield Consulting
In some languages, functions can signal an unhandled error condition using an exception, for example, which would cause a test like this to...
Read more >
Testing Error Handling in node.js | by Lars Trieloff
Here are four techniques I use to achieve consistently high test coverage and ensure my programs are not just working as expected, but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found