One of the main problems with writing JavaScript or jQuery code is that it is difficult to debug and test.
Well, that is where QUnit comes in!
QUnit allows Unit Testing your JavaScript/jQuery code through a standard web browser.
You can learn about QUnit here: https://qunitjs.com/
If you are working with older documentation for QUnit, you may encounter error messages regarding deprecated methods, in which case you should consult the upgrade guide: https://qunitjs.com/upgrade-guide-2.x/
To get started with a basic sample of a QUnit Unit Test, you can use the following sample code:
Well, that is where QUnit comes in!
QUnit allows Unit Testing your JavaScript/jQuery code through a standard web browser.
You can learn about QUnit here: https://qunitjs.com/
If you are working with older documentation for QUnit, you may encounter error messages regarding deprecated methods, in which case you should consult the upgrade guide: https://qunitjs.com/upgrade-guide-2.x/
To get started with a basic sample of a QUnit Unit Test, you can use the following sample code:
No comments:
Post a Comment