How to Install and Uninstall libjs-qunit Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 21,2024

1. Install "libjs-qunit" package

Here is a brief guide to show you how to install libjs-qunit on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libjs-qunit

2. Uninstall "libjs-qunit" package

This guide covers the steps necessary to uninstall libjs-qunit on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libjs-qunit package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libjs-qunit
Priority: optional
Section: universe/web
Installed-Size: 117
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Architecture: all
Version: 1.14.0-1
Recommends: javascript-common
Filename: pool/universe/libj/libjs-qunit/libjs-qunit_1.14.0-1_all.deb
Size: 20886
MD5sum: 184e01b3e083ee2c74206582d74e8f36
SHA1: 223bcfb5ff0ff5cf2c1bbe214296297b25598e7e
SHA256: 77b5d1f44ef28eee46e068c0b5f3694f552748a421063c3f6b5fce55746a0a7e
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: 58842e2e57c06932332ebb3f95874e72
Homepage: http://qunitjs.com/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu