This merges the functionality of the onlinetests plugin tester. Nothing should change unless you compile the selftest dub configuration.
The tests were rewritten so that each plugin module now carries its own set of tests, in a top-level .selftest function, as opposed to a centralised tester plugin. A new IRCPlugin.selftest method was added that proxies to these, where available. Additionally, the Admin plugin now has a selftest command that starts the process of testing all plugins, alternatively the ones whose names are supplied.
Hopefully the lower proximity to the actual code should lower the bar of entry to writing tests.
This merges the functionality of the
onlinetests
plugin tester. Nothing should change unless you compile theselftest
dub configuration.The tests were rewritten so that each plugin module now carries its own set of tests, in a top-level
.selftest
function, as opposed to a centralised tester plugin. A newIRCPlugin.selftest
method was added that proxies to these, where available. Additionally, the Admin plugin now has aselftest
command that starts the process of testing all plugins, alternatively the ones whose names are supplied.Hopefully the lower proximity to the actual code should lower the bar of entry to writing tests.