Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin self-tests #178

Merged
merged 264 commits into from
Jan 21, 2024
Merged

Plugin self-tests #178

merged 264 commits into from
Jan 21, 2024

Conversation

zorael
Copy link
Owner

@zorael zorael commented Jan 21, 2024

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.

zorael added 30 commits June 7, 2020 11:11
* Add Seen tests
* Reset colouredOutgoing better
And expect "Setting changed." replies.
* Now reports errors and successes
* delays between tests
@zorael zorael merged commit 047ba6d into master Jan 21, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant