You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Samples. There are a couple of samples available, showing possible scenarios to use TestMyBot. For all samples, you these commands to run them:
> npm install
> npm run test
I would suggest three initial fixes:
Fix this typo: "For all samples, you these commands to run them:" --> "For all samples, you should type these commands to run them:"
What kind of test will it launch the first time? I mean, for the Facebook Messenger (fbdirect) case, if I understand correctly, you first must edit testmybot.json with your FB credentials and FB Page ID of the bot, then execute npm run emulator to create and save a conversation and finally, you type npm run test to automatically run the conversation again, this time as a test (output expected vs. output received). However, it seems that there is an already created conversation there: testmybot/samples/fbdirect/spec/convo/simplecalc.convo.txt. I think that this is for testing the sample bot provided with botium, isn't it? But I'm a little bit confused here. Could you clarify this in the markdown text?
The markdown for the FBdirect page links to an outdated article. For example, in "Step 2" it suggest to run node node_modules/testmybot-chat/index.js but that directory is not there anymore (it's called testmybot, not testmybot-chat) and (please, correct me if I am wrong) the emulator is not longer launched with that command but with this one:
> npm install
> npm run emulator
Could it be possible to copy the text from chatbotsmagazine.com article in a wiki page so we can propose pull requests to update it (and keep it updated)?
This kind of small documentation fixes could help onboarding project newcomers (like myself!)
The text was updated successfully, but these errors were encountered:
juananpe
changed the title
testmybot documentation should make it clear how to get started
Documentation should make it clear how to get started
Apr 30, 2018
Awesome feedback, thank you.
A while ago we split up the codebase, now there is not only testmybot, but testmybot, botium-core, botium-cli, botium-utterances ... and there is more to come.
It is very very true that documentation and blog articles are partially outdated or not relevant anymore.
The Botium Wiki is up-to-date (but not yet comprehensive), and it is planned to be the premium source of information. As TestMyBot really is just a thin wrapper around Botium, TestMyBot documentation could be very thin as well ... by the way, the Push/Pull/Merge-Cycle doesn't apply to the Wiki
Reading the home page of the project:
I would suggest three initial fixes:
Fix this typo: "For all samples, you these commands to run them:" --> "For all samples, you should type these commands to run them:"
What kind of test will it launch the first time? I mean, for the Facebook Messenger (fbdirect) case, if I understand correctly, you first must edit testmybot.json with your FB credentials and FB Page ID of the bot, then execute
npm run emulator
to create and save a conversation and finally, you typenpm run test
to automatically run the conversation again, this time as a test (output expected vs. output received). However, it seems that there is an already created conversation there:testmybot/samples/fbdirect/spec/convo/simplecalc.convo.txt
. I think that this is for testing the sample bot provided with botium, isn't it? But I'm a little bit confused here. Could you clarify this in the markdown text?The markdown for the FBdirect page links to an outdated article. For example, in "Step 2" it suggest to run
node node_modules/testmybot-chat/index.js
but that directory is not there anymore (it's called testmybot, not testmybot-chat) and (please, correct me if I am wrong) the emulator is not longer launched with that command but with this one:Could it be possible to copy the text from chatbotsmagazine.com article in a wiki page so we can propose pull requests to update it (and keep it updated)?
This kind of small documentation fixes could help onboarding project newcomers (like myself!)
The text was updated successfully, but these errors were encountered: