Bug Tracker

Ticket #4857 (closed enhancement: invalid)

Opened 5 years ago

Last modified 5 years ago

QUnit: Enable auto-reloading of the testsuite

Reported by: dwt Owned by: joern
Priority: major Milestone: 1.4
Component: qunit Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

It is very reasonable to auto-reload the testsuite every n seconds (for example after it has run through).

In the best case (that is the testsuite runs fast) this allows you to continously run your tests and completely focus on your editor, just occasionally glancing at your testsuite to see its progress.

This is exhileratingly good at keeping you focused on your problems and not caring about how to again switch applications, reload your testsite (and every other time seeing that you switched to another application / browser-page in the meantime and therefore just did something completely different).

So, please add this (a simple setTimeout at the end of the testrun does everything you need).

Change History

comment:1 Changed 5 years ago by dwt

I've since implemented a testrunner that does this here:  http://haecker.me/trac/browser/open-source/utilities/qunit-testrunner.html

Perhaps you would like to merge this into qunit?

comment:2 Changed 5 years ago by dwt

Ah, it only restarts the testsuite every 3 seconds after it has run through. And it also provides UI to cancel and restart this cycle.

comment:3 Changed 5 years ago by john

  • Status changed from new to closed
  • Resolution set to invalid

We're moving QUnit-related bugs off to the new QUnit issue tracker:  http://github.com/jquery/qunit/issues

Please re-post the issue there.

Note: See TracTickets for help on using tickets.