MediaWiki API Testing Library

JSON →
library 1.7.3 ·javascript
verified May 27, 2026

API-Testing is an open-source JavaScript library designed for conducting end-to-end integration tests against MediaWiki's Action API and REST API. It runs on Node.js environments (specifically Node.js >= 14.18.0) and is built upon established testing tools: `supertest` for making HTTP requests, `Chai` for its flexible assertion capabilities, and `Mocha` as the test runner. The current stable version is 1.7.3. This library provides a specialized framework for testing MediaWiki instances, whether locally installed or remote, offering a higher-level abstraction compared to using the underlying HTTP and assertion libraries directly. Its release cadence is tied to MediaWiki development and is actively maintained, as evidenced by its integration with Wikimedia's Gerrit and Phabricator for contributions and bug tracking. Key differentiators include its tight coupling with MediaWiki API structures, simplifying test authoring for that ecosystem, and its comprehensive integration test approach.

total hits 26
actors 9 distinct systems
last hit 1d ago human
Amazonbot
4
ByteDance
4
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France