linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 83 forks source link

lilneman spec-ci not working #366

Closed ghost closed 8 years ago

ghost commented 9 years ago

I have been using lineman / lineman-angular / test'em and I love it. Following is an unexpected error with lineman spec-ci:

Steps to reproduce

  1. run lineman spec and observe that all is well. See screen shot screen shot 2015-06-08 at 09 15 01
  2. Cause a test to fail. See screen shot from running lineman spec screen shot 2015-06-08 at 09 14 43
  3. Run lineman spec-ci

    Observed Behavior

  4. It reports that no tests were run and that all tests passed, see screen shot screen shot 2015-06-08 at 09 20 43

    Expected Behavior

  5. Execution of lineman spec-ci indicates that 78 tests were executed, and one test failed.

Thanks in advance for any insights you might have on this.

Regards Rodrigo

StephenTurley commented 9 years ago

I just noticed this happening in my local builds as well.

StephenTurley commented 9 years ago

I just figured out what was causing the problem for me. spec-ci requires phantomjs. phantomjs has some added system dependencies that were not installed on my system (Fedora 21). Try doing a sudo npm install -g phantomjs. This should pull in all the dependencies that you need. If you are on Mac or Windows, I'm not sure what to do. You could look at http://phantomjs.org/download.html

ghost commented 8 years ago

@StephenTurley Just noticed your comment, thanks! I'll try and let you know.