1

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 please

Note: I found qunit.config.autostart(false) & start()/stop() for execution. But unable to call start() & stop() as they are not recognized as qunit functions. How to solve this ?

Satya G
  • 11
  • 2
  • There isn't a function in QUnit to just start a given module/test. However, when you load the default QUnit UI there is a drop down that let's you select which module to run. All this does is reload the page with that module in the query string. So your modal _could_ do that, or you could just use QUnit's dropdown. – Jordan Kasper Jun 20 '17 at 12:56
  • Thanks Jakerella, for thei info. I need to do exact thing at test case level. Is there a way to achieve that ? – Satya G Jun 21 '17 at 06:16
  • Not that I know of, sorry. – Jordan Kasper Jun 21 '17 at 14:14
  • Ok. But thanks for the sharing your views. I finally dropped this idea & settled with using default filters - module drop down to run complete module at once & Search filter for particular to run a particular test case. – Satya G Jul 04 '17 at 11:35

0 Answers0