How to Install and Uninstall libjs-qunit Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "libjs-qunit" package

This guide covers the steps necessary to install libjs-qunit on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libjs-qunit

2. Uninstall "libjs-qunit" package

Please follow the step by step instructions below to uninstall libjs-qunit on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libjs-qunit $ sudo apt autoclean && sudo apt autoremove

3. Information about the libjs-qunit package on Ubuntu 21.04 (Hirsute Hippo)

Package: libjs-qunit
Architecture: all
Version: 1.23.1~dfsg-1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 298
Recommends: javascript-common
Filename: pool/universe/libj/libjs-qunit/libjs-qunit_1.23.1~dfsg-1_all.deb
Size: 92396
MD5sum: 4bc8ba01b6a631dad8b0d9d3c57998ce
SHA1: 3fd8769b925c3a3c141fb7be5fcacdcbbf5520ea
SHA256: 8be47e4d51f8b8fbc3ca15869c3b09b6328d16682d431234418537e830b880f5
SHA512: 86b5aad05fff737033a398a3cded6a5dc4fa839877d14ff53cc263480ba535dbc53c2a1d9bc4eec0d3ea37dcbda7005d981a3739c6a2a5b8e6a54c7f6154971e
Homepage: http://qunitjs.com/
Description-en: JavaScript Unit Testing framework
QUnit is a powerful, easy-to-use, JavaScript test suite.
It's used by the jQuery project to test its code and plugins
but is capable of testing any generic JavaScript code
(and even capable of testing JavaScript code on the server-side).
.
QUnit is especially useful for regression testing:
Whenever a bug is reported,
write a test that asserts the existence of that particular bug.
Then fix it and commit both.
Every time you work on the code again, run the tests.
If the bug comes up again - a regression -
you'll spot it immediately and know how to fix it,
because you know what code you just changed.
.
Having good unit test coverage makes safe refactoring easy and cheap.
You can run the tests after each small refactoring step
and always know what change broke something.
.
QUnit is similar to other unit testing frameworks like JUnit,
but makes use of the features JavaScript provides
and helps with testing code in the browser,
e.g. with its stop/start facilities for testing asynchronous code.
Description-md5: a5e6cd099b9c3a7e2a4f378d19fa5081