Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

make a standard set of bot behaviors for automated library testing #2

Open
yourWaifu opened this issue Dec 3, 2016 · 4 comments
Open

Comments

@yourWaifu
Copy link

yourWaifu commented Dec 3, 2016

I was asked by Jamieλ on discord to open a issue about this

@yourWaifu
Copy link
Author

yourWaifu commented Dec 3, 2016

I think we should of course start with connecting, and heartbeet
and then sending messages like noramal one then all types of embeds and attactments
and then testing rate limits for sending messages
not in order:
deleting messages, editing messages,
creating, deleting, editing channels
dms
bans
kicking
unban
create, delete, edit servers
users leaving and joining
Channel events, Message events, Role events, Presence, Server events on websocket
and I think typing

@TiltMeSenpai
Copy link
Owner

Do we want to test ETF on the websocket also? Erlang also has a quickcheck module so it wouldn't be too hard (I think)

@yourWaifu
Copy link
Author

if you need to test erlang stuff. sure, I guess. I don't know what erlang is tho

@TiltMeSenpai
Copy link
Owner

So basic plan (that imma start working on): After a lib confirms that auth/ratelimits work properly (fuck knows how), connect to an orchestration server on Discord. Server has bot connect to a testing server, where #general logs test progress. Bot is assigned a testing channel through dm with "?test ." Set of commands are ran in that channel, with pass|fail, completed/total and percentage progresses sent to #general by the testing bot. After testing completes, the bot being tested is kicked from the orchestration server to keep things clean.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants