Questions tagged [qunit-bdd]

BDD-style testing for QUnit.

3 questions
3
votes
1 answer

How to use qunit-bdd with ember-qunit?

Originally posted on the mailing list by Andreas Haller, reposting here so that the "qunit-bdd" tag will be available for others to use. ember-qunit adds a handy moduleFor helper which one can use as an alternative to QUnit's module function. Now…
Brian Donovan
  • 8,274
  • 1
  • 26
  • 25
1
vote
0 answers

Manually choose QUnit tests for execution

I'm using qunit 2.3.3 with qunit-parameterize. I'm interested in preparing a modal dialog html at start of the suite/runner.html which is used to select the test cases for execution. Is there a way to do this or any thoughts or leads around this…
Satya G
  • 11
  • 2
0
votes
1 answer

How can I test the part of code that executes before onready?

I have written a small page to learn BDD/TDD. It is at http://duolingo.howyousay.it/link.html My tests (only one file at the moment) are at http://duolingo.howyousay.it/tests/test.html?coverage&hidepassed&noglobals I've managed to get 100% code…
CJ Dennis
  • 4,226
  • 2
  • 40
  • 69