Giter Site home page Giter Site logo

Comments (3)

sgravrock avatar sgravrock commented on June 9, 2024 1

Thanks for understanding.

I understand that the ecosystem is a little unbalanced right now. My hope is that once Jasmine support is added to Web Test Runner, we'll be back to having good options for both people who want something more feature-full and people who want something lightweight and simple.

from jasmine-browser-runner.

sgravrock avatar sgravrock commented on June 9, 2024

Would something like node --watch-path=mySpecBundle.js ./node_modules/.bin/jasmine-browser-runner runSpecs (requires at least Node 18.11.0) work for you? Aside from showing the results in the terminal rather than in the browser I think it achieves the same outcome as what you're asking for.

I'm reluctant to build watch functionality into jasmine-browser-runner itself. Much of the complexity and flakiness that I disliked in Karma resulted directly from that feature. As a user, I had to pay a price for all that even though I didn't need the watch functionality myself. File watching itself is notoriously hard to do in a way that works correctly and scales to large numbers of files/directories across all major OSes. (I'll admit to being a bit out of touch with the state of the art here, but a quick look at the Chokidar issue tracker suggests that it's still a hard problem.) This feature has also proven to be something of a bug factory in other testing tools.

from jasmine-browser-runner.

DamienCassou avatar DamienCassou commented on June 9, 2024

Thank you very much for your detailed answer. I understand the scope of your project is narrower than what I would like and I don't think it's worth adding the complexity.

The workaround you give isn't good enough for me because I really would like to debug in the browser.

Thank you for your project. Feel free to close the issue whenever you want.

from jasmine-browser-runner.

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.