q2K BHP
Black History Portal
THE BHP WIRE —
HIDDEN TRUTHS
What's New!
THE JOURNEY THROUGH TIME

Explore Black History

Explore the people, places, events, achievements, struggles and stories that shaped our journey.

✊🏾

Civil Rights

Movements, leaders, victories and the continuing fight for equality.

⚙️

Black Inventors

Innovation, patents, science, technology and world-changing contributions.

🏆

Sports

Pioneers, champions, Negro Leagues, records, activism and excellence.

♟️

People

Meet the people whose lives, choices and achievements shaped the journey.

📍

Places

Black towns, communities, institutions and places where history happened.

📜

Events

Moments that changed communities, movements, institutions and the nation.

Enter a person, place, event, or topic.
MY'STORY

The MOVE Fire

This is a personal recollection on the Move fire on May 13, 1985 Philadelphia police fired thousands of rounds at the MOVE house, city officials approved dropping an explosive device on the roof, the resulting fire was allowed to burn, 11 people—including five children—died, and 61 homes were destroyed. Philadelphia City Council later called it a “brutal attack carried out by the City of Philadelphia on its own citizens” and acknowledged that no individual faced criminal consequences for the bombing. One timeline correction worth preserving for the BHP record: the major previous MOVE-police confrontation was August 8, 1978, about seven years before the bombing, not a year or two earlier. Officer James Ramp was killed, other police and firefighters were wounded, nine MOVE members were later convicted, and television cameras recorded police beating Delbert Africa during his arrest. The 1985 MOVE Commission later specifically criticized city planners for failing to adequately use lessons from that 1978 confrontation. And that actually strengthens the point you’re making: 1985 did not happen without precedent or institutional memory. There had already been a deadly confrontation with MOVE, years of conflict, negotiations and police involvement before Osage Avenue.

MORE →
BLACK FACTS
The Truths They Never Taught You...

Wilmington 1898 — An American Coup

Wilmington, North Carolina once had a thriving Black middle class and an elected interracial government. In 1898 white supremacists used violence to overthrow that government, kill Black residents and drive many others from the city.

MORE →
BHP gathered finds from its connected research sources. Showing the 4 strongest Black History matches.
← BACK TO RESULTS
Wikipedia

QUnit

QUnit
Release8 May 2008 (2008-05-08)
Stable release
3.0.0[1] Edit this on Wikidata / 27 September 2026; 20 days ago (27 September 2026)
Written inJavaScript
TypeTest automation framework
LicenseMIT
Websitequnitjs.com
Repository

QUnit is a JavaScript framework for unit testing. Originally developed for testing jQuery, jQuery UI and jQuery Mobile, it is a generic framework for testing any JavaScript code. It supports client-side environments in web browsers, and server-side (e.g. Node.js).

QUnit's assertion methods follow the CommonJS unit testing specification, which itself was influenced to some degree by QUnit.

History

[edit]

John Resig originally developed QUnit as part of jQuery. In 2008 it was extracted from the jQuery unit test code to form its project and became known as "QUnit". This allowed others to start using it for writing their unit tests. While the initial version of QUnit used jQuery for interaction with the DOM, a rewrite in 2009 made QUnit completely standalone.

A 2017 analysis of npm and GitHub code repositories showed QUnit was the third most prevalent framework, with half as much usage as the most popular framework, Mocha.[2]

Usage and examples

[edit]
  • QUnit.module(string) - Defines a module, a grouping of one or more tests.
  • QUnit.test(string, function) - Defines a test.

QUnit uses a set of assertion method to provide semantic meaning in unit tests:[3]

  • assert.ok(boolean, string) - Asserts that the provided value casts to boolean true.
  • assert.equal(value1, value2, message) - Compares two values, using the double-equal operator.
  • assert.deepEqual(value1, value2, message) - Compares two values based on their content, not just their identity.
  • assert.strictEqual(value1, value2, message) - Strictly compares two values, using the triple-equal operator.

A basic example would be as follows:[4]

QUnit.test('a basic test example', function (assert) {
  var obj = {};

  assert.ok(true, 'Boolean true');       // passes
  assert.ok(1, 'Number one');            // passes
  assert.ok(false, 'Boolean false');     // fails

  obj.start = 'Hello';
  obj.end = 'Ciao';
  assert.equal(obj.start, 'Hello', 'Opening greet'); // passes
  assert.equal(obj.end, 'Goodbye', 'Closing greet'); // fails
});

See also

[edit]

References

[edit]
  1. ^ "Release 3.0.0". 27 September 2026. Retrieved 28 September 2026.
  2. ^ Fard, Amin Milani; Mesbah, Ali (2017). JavaScript: The (Un)covered Parts (PDF). 10th IEEE International Conference on Software Testing, Verification and Validation (ICST 2017). Tokyo: IEEE.
  3. ^ "Assert methods". QUnit API Documentation. Retrieved 2018-02-14.
  4. ^ "Cookbook: Example test". QUnit API Documentation. Retrieved 2014-06-02.
[edit]

Source: Wikipedia. Article content is retrieved live through the MediaWiki API.

No preview image
Wikipedia

QUnit

QUnit is a JavaScript framework for unit testing. Originally developed for testing jQuery, jQuery UI and jQuery Mobile, it is a generic framework for testing any JavaScript code. It supports client-side environments in web browsers, and server-side (e.g. Node.js). QUnit's assertion methods follow the CommonJS unit testing specification, which itself was influenced to some degree by QUnit.

MORE →
Wikipedia

USS Leahy (DLG-16)

USS Leahy (hull number DLG/CG-16) was the lead ship of a new class of destroyer leaders in the United States Navy. Named for Fleet Admiral William D. Leahy, she was commissioned on 4 August 1962 as DLG-16, a guided missile frigate, and reclassified as CG-16, a guided missile cruiser, on 30 June 1975. From 1962 to 1976, Leahy operated as a unit of the Atlantic Fleet and from 1976 to 1993 as a unit of the Pacific Fleet. She made six Mediterranean deployments (Sixth Fleet), two UNITAS Latin America cruises and eight Western Pacific deployments (Seventh Fleet), completed three Panama Canal transits, and crossed the equator over a dozen times. She traveled the seas from the easternmost end of the Mediterranean to the westernmost edge of the Indian Ocean. She steamed far north to Leningrad, Russia, and the Aleutian Islands; and far south for two passages through the Straits of Magellan. Over the course of her sixteen major deployments, Leahy made port calls on six continents—North America, South America, Europe, Asia, Africa and Australia. Leahy served longer than any other ship of her class. After more than 31 years of active service all over the globe, the "Sweet 16" was decommissioned on 1 October 1993. After another 11 years in the reserve fleet, she was scrapped in Brownsville, Texas, in 2005.

MORE →
Wikipedia

Bootstrap (front-end framework)

Bootstrap (formerly Twitter Bootstrap) is a free and open-source CSS framework directed at responsive, mobile-first front-end web development. It contains HTML, CSS and (optionally) JavaScript-based design templates for typography, forms, buttons, navigation, and other interface components. As of May 2023, Bootstrap is the 17th most starred project (4th most starred library) on GitHub, with over 164,000 stars. As of January 2023, Bootstrap is used by 19.2% of all websites according to W3Techs.

MORE →
Wikipedia

Kunwar Viyogi

Kunwar Viyogi (4 September 1940 – 2015), born Randhir Singh Jamwal, was a poet, and the only Indian Air Force officer to have received the Sahitya Akademi Award, which was awarded in 1980 for his long Dogri language poem "Ghar." He used "Ghar" [Home] as a peg and strung together 238 four-lines verses embracing a wide variety of subjects and ideas and feelings into a long poem. He is also the youngest poet in the history of Sahitya Akademi to have received this honour. Viyogi is noted for introducing the sonnet, a relatively new and unexplored genre for Dogri writers, into Dogri literature.

MORE →
TOPIC OF THE DAY

Greenwood / Black Wall Street

Before the 1921 destruction of Tulsa’s Greenwood District, Black residents had created a remarkable center of business and community life. The district included stores, professional offices, entertainment venues and homes owned by Black citizens. Understanding Greenwood means learning what was built—not only what was burned.

MORE →
TRIVIA QUESTION OF THE DAY

Which Supreme Court case ruled state-sponsored public-school segregation unconstitutional?

Brown v. Board of Education in 1954.