Giter Club home page Giter Club logo

Comments (8)

koresar avatar koresar commented on May 25, 2024

But even if you see the error message, you won't see the stack trace. Am I doing something wrong?

I miss stack trace very much. It is really a time-consuming job if you don't have an exception call stack. :(

from stampit.

koresar avatar koresar commented on May 25, 2024

In fact, simple node test/stampit-specs.js runs tests smoothly even without phantomjs.

I might not know something. But would someone explain me why we need phantomjs to run tests locally?

from stampit.

troutowicz avatar troutowicz commented on May 25, 2024

I have experienced the same problems with tape-run/phantomjs. But yeah, there really is no need for stampit tests to be ran in a browser. I'm just executing tests directly over at react-stampit.

from stampit.

ericelliott avatar ericelliott commented on May 25, 2024

Let's skip phantomjs. If we want to test in-browser, we should just use Sauce Labs.

You should get all your errors if you run tape without Stampit. Does that work for you?

from stampit.

JosephClay avatar JosephClay commented on May 25, 2024

Testing locally, if I force a test to fail, I'm seeing:

# tests 114
# pass 113
# fail 1

If I put in a TypeError, e.g. stampit.doesNotExist(), it does hang. Not sure why.

from stampit.

koresar avatar koresar commented on May 25, 2024

There are 171 tests in the init-making-stampit-flexible branch. Which is soon to be merged into v2_0. I've removed phantomJS there. So, as soon as in 12 hours all the issues mentioned here will be resolved. :)

from stampit.

ericelliott avatar ericelliott commented on May 25, 2024

πŸ‘

from stampit.

koresar avatar koresar commented on May 25, 2024

The issue got resolved in branch 2.0 with node test/index.js instead of tape-run. :)

I confirm exception stack traces are being printed. Tape assertions print the file name and line number on fails.

All good.

from stampit.

Related Issues (20)

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.