codeforequity-at / botium-bindings

The Selenium for Chatbots
http://www.botium.at
MIT License
108 stars 33 forks source link

Fixes #81 #84

Closed juananpe closed 6 years ago

juananpe commented 6 years ago

Beware, I have tested it only with FBDirect sample, but should work for any other CONTAINERMODE.

codeforequity-at commented 6 years ago

Doing the change in testmybot.js is not a good idea, as the code in there has to be independent of the used test runner. Using Jasmine "fail" inside there will make it incompatible with other test runners.

juananpe commented 6 years ago

I agree. I'll try another approach so that I can test my Facebook Messenger chatbots with Jasmine or any other test runner. As it is today, testmybot + jasmine always marks all tests as "success", no matter what, without failures.