Skip to content

Add configuration parameters #5

@piranna

Description

@piranna

On http://api.qunitjs.com/QUnit.config/ there are several QUnit configuration flags given on browsers on the URL query. Some of there are useless on a command line environment like scrolltop, but others can be useful like requireExpects or testTimeout, and some could be adapted like hidepassed. Since we already have support for module and test setting directly their values on QUnit.config, I propose:

  • rename test parameter as testNumber (old one can be left for compatibility)
  • allow to set "unknown" parameters on the QUnit.config object, so this can be easily initialized
  • allow to set new entries on urlConfig, so we can check that the values are valid ones
  • adapt other config values (mainly focused on passed tests)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions