Qunit parameterized tests and mocking

后端 未结 5 978
一生所求
一生所求 2020-12-23 09:38

I have two questions:

Can you have parameterised unit tests in qunit?

How do you do mocking with qunit e.g. mocking a getJSON c

5条回答
  •  萌比男神i
    2020-12-23 10:09

    There is my implementation of addon which allows to parameterize qunit tests: https://github.com/AStepaniuk/qunit-parameterize

提交回复
热议问题