https://doc.wikimedia.org/cover/mediawiki-core/includes/widget/index.html
The PHP MediaWiki widgets currently have no test coverage, we should have integration tests that verify the HTML output. I think this would be a good Google-Code-in-2018 task, and would be happy to mentor it, but I'd like at least one example test written by an OOUI expert to exist before asking students to write tests.