I am using the Wechat Developer Tools. That is one of the things that requires a QR code scan to log into the devtool! Also it is a GUI app.
You can run the GUI app on the Mac or Windows (no Linux) and it has to be running to be able to use the CLI! The CLI has the QR code you need to scan to do anything else with the CLI sent to the ASCII terminal!!! (or a file)
You can only do 4 things with the CLI. One of them is a thing I want to do from CI: promote to WeChat upload so “Experience Users” (i.e. QA) can then do manual tests.
There seems to be no way to script the tool to do any kind of testing.
I’m wondering if one could use Appium to test the WeChat mini-programs.
Applications are not written in exactly an HTML/JS. Its a sub/superset of HTML/JS and needs to run in the context of the Wechat Mini-Program to do any real testing as far as I can tell.
Thanks for your suggestions. I and my colleagues have done extensive googling both in Chinese and English as well as talking to whatever contacts we can find in Tencent/WeChat and so far haven’t found anything beyond some hacks that allow you to pass the login QR code to Slack for a human to scan (each time the CI is run!) But NOTHING on how to have automated tests against the WeChat Mini-Program.
I’m still hoping to find something beyond https://xkcd.com/979/