New test file, attempting to run the bot in controlled environment (mocked messages) to confirm features work.
Such a test harness will prove important to avoid regressions in future, when migrating from one bot library to another.
As seen in test comments, it's not fully ready (I don't know the codebase enough) but this already has value, both in showing how to set up tests, and by "chafing" enough that we can see what's worth improving.
I took the liberty of adding poetry, but that's personal preference, no huge reason to change what works.
Intent here is to showcase technology, not straight up adoption as PR, hence marking draft.
New test file, attempting to run the bot in controlled environment (mocked messages) to confirm features work.
Such a test harness will prove important to avoid regressions in future, when migrating from one bot library to another.
As seen in test comments, it's not fully ready (I don't know the codebase enough) but this already has value, both in showing how to set up tests, and by "chafing" enough that we can see what's worth improving.
I took the liberty of adding poetry, but that's personal preference, no huge reason to change what works.
Intent here is to showcase technology, not straight up adoption as PR, hence marking draft.
RCT A. Jib