GithubHelp home page GithubHelp logo

mocha-bamboo-reporter's People

Contributors

issacg avatar m-oles avatar mbaumgartl avatar shanesmith avatar tregagnon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mocha-bamboo-reporter's Issues

Problem with using reporter within gulp mocha

I get the output double callback twice when I use the mocha-bamboo-reporter within my gulp mocha test run. The mocha.json is also not generated.

Without it everything works fine.

can not run parallel protractor tests on Selenium Server

I am running protractor tests through Selenium Server on a number of browsers simultaneously.
The mocha bamboo reporter wirtes the results to mocha.json after each test. But when starting the next tests it removes that file. Which means only the results from the last test are being saved.

So I modified the reporter locally by reading the results, adding the new result and writing it back to the file.
This only works when running tests sequentially as 2 tests finishing at the same time would miss each other's results.

Is there any chance the bamboo reporter will be updated by supporting parallel runs?

TypeError: Cannot call method 'toString' of undefined

I'm not sure why this happened yet, but the code in clean() is assuming that there is a stack property on test.err and it seems that isn't always there.

error   04-Mar-2015 17:35:54    /srv/bamboo-agent-home/xml-data/build-dir/WRTC-FBT0-JOB1/functional-browser-tests/node_modules/mocha-bamboo-reporter/lib/bamboo.js:74
error   04-Mar-2015 17:35:54        o.error = test.err.stack.toString();
error   04-Mar-2015 17:35:54                                 ^
error   04-Mar-2015 17:35:54    TypeError: Cannot call method 'toString' of undefined
error   04-Mar-2015 17:35:54        at clean (/srv/bamboo-agent-home/xml-data/build-dir/WRTC-FBT0-JOB1/functional-browser-tests/node_modules/mocha-bamboo-reporter/lib/bamboo.js:74:30)
error   04-Mar-2015 17:35:54        at Array.map (native)
error   04-Mar-2015 17:35:54        at Runner.<anonymous> (/srv/bamboo-agent-home/xml-data/build-dir/WRTC-FBT0-JOB1/functional-browser-tests/node_modules/mocha-bamboo-reporter/lib/bamboo.js:44:28)
error   04-Mar-2015 17:35:54        at Runner.emit (events.js:117:20)
error   04-Mar-2015 17:35:54        at Runner.uncaught (/srv/bamboo-agent-home/xml-data/build-dir/WRTC-FBT0-JOB1/functional-browser-tests/node_modules/mocha/lib/runner.js:563:8)
error   04-Mar-2015 17:35:54        at process.uncaught (/srv/bamboo-agent-home/xml-data/build-dir/WRTC-FBT0-JOB1/functional-browser-tests/node_modules/mocha/lib/runner.js:580:10)
error   04-Mar-2015 17:35:54        at process.emit (events.js:95:17)
error   04-Mar-2015 17:35:54        at process._fatalException (node.js:272:26)

release to npm?

Can you release the current master branch to npm? I have my project pointing at the commit that contains the change to allow a custom filename using MOCHA_FILE environment variable, but i'd like to just have it point at an npm version instead.

If there's anything you need to facilitate the release let me know and i'll do it.

Thanks!

Double output

When used with Bamboo 5.9.10 build 5921, the Bamboo UI displays

My random test should work should work

The test was written like this:

decribe( 'My random test', function () {
  it( 'shold work', function () {
    //...
  } );
} );

Not sure if this is a mocha-bamboo-reporter issue, though. ๐Ÿป

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.