Skip to content

Commit

Permalink
* Adaptions for Jasmine
Browse files Browse the repository at this point in the history
* Enhanced Error Messages for Botium Startup
  • Loading branch information
codeforequity-at committed May 11, 2018
1 parent db2206a commit 00c81a4
Show file tree
Hide file tree
Showing 18 changed files with 19,477 additions and 6,100 deletions.
9,907 changes: 7,289 additions & 2,618 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "testmybot",
"version": "1.4.2",
"version": "1.4.3",
"engines": {
"node": ">=6.0"
},
Expand All @@ -15,8 +15,7 @@
"license": "MIT",
"dependencies": {
"async": "^2.1.5",
"botium-cli": "0.0.6",
"botium-core": "1.3.9",
"botium-core": "1.3.13",
"chai": "^4.1.2",
"debug": "^3.1.0",
"exit-hook": "^1.1.1",
Expand Down
4 changes: 2 additions & 2 deletions samples/botframework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "1.0.0",
"scripts": {
"test": "jasmine",
"emulator": "../../node_modules/.bin/botium-cli emulator console --convos ./spec/convo --config ./testmybot.json",
"emulatorBrowser": "../../node_modules/.bin/botium-cli emulator browser --convos ./spec/convo --config ./testmybot.json"
"emulator": "npm install botium-cli && botium-cli emulator console --convos ./spec/convo --config ./testmybot.json",
"emulatorBrowser": "npm install botium-cli && botium-cli emulator browser --convos ./spec/convo --config ./testmybot.json"
},
"devDependencies": {
"jasmine": "^2.6.0",
Expand Down
4 changes: 2 additions & 2 deletions samples/calculator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "1.0.0",
"scripts": {
"test": "jasmine",
"emulator": "../../node_modules/.bin/botium-cli emulator console --convos ./spec/convo --config ./testmybot.json",
"emulatorBrowser": "../../node_modules/.bin/botium-cli emulator browser --convos ./spec/convo --config ./testmybot.json"
"emulator": "npm install botium-cli && botium-cli emulator console --convos ./spec/convo --config ./testmybot.json",
"emulatorBrowser": "npm install botium-cli && botium-cli emulator browser --convos ./spec/convo --config ./testmybot.json"
},
"devDependencies": {
"jasmine": "^2.6.0",
Expand Down
4 changes: 2 additions & 2 deletions samples/facebook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "index.js",
"scripts": {
"start_testmybot": "node index.js",
"emulator": "../../node_modules/.bin/botium-cli emulator console --convos ./spec/convo --config ./testmybot.json",
"emulatorBrowser": "../../node_modules/.bin/botium-cli emulator browser --convos ./spec/convo --config ./testmybot.json",
"emulator": "npm install botium-cli && botium-cli emulator console --convos ./spec/convo --config ./testmybot.json",
"emulatorBrowser": "npm install botium-cli && botium-cli emulator browser --convos ./spec/convo --config ./testmybot.json",
"test": "jasmine"
},
"author": "Florian Treml",
Expand Down
4 changes: 4 additions & 0 deletions samples/fbdirect/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ In this sample, your Chatbot is already deployed to Facebok. TestMyBot makes use

Find instructions on how to use this sample here: https://chatbotsmagazine.com/serverless-monitoring-of-your-facebook-chatbot-in-3-easy-steps-a051b4f248a8

You have to enter the "Page ID" of the Facebook page your Chatbot is linked to in the testmybot.json file.

You have to enter your facebook credentials in the package.json file.

**ATTENTION**

When running this sample code with your Facebook account from a hosted server (for example, from Amazon EC2 instance), your Facebook account will most likely get locked. Please make sure to run this sample from your workstation.
Loading

0 comments on commit 00c81a4

Please sign in to comment.