bespoken / virtual-google-assistant

🤖 Easily test and debug Actions on Google programmatically https://bespoken.io
Apache License 2.0
23 stars 10 forks source link

Will the library support conversational test cases #37

Closed AngavaiS closed 6 years ago

AngavaiS commented 6 years ago

Hi Juan,

Thanks for all your help. I do have one more question. Since I am learning and I am a tester. I am learning Unit testing now. So the questions may sound silly.

Do the library support conversational testing ? If the conversation does not contain the intents.

describe(‘Location Details and change location, function () {

it('it should return welcome intent', function () {
    res2 = await ga.utter(‘open Starbucks’);
     });

it('it should return location intent', function () {
    res2 = await ga.utter(‘get me nearest store’);
      });

// The below two are not intents.
it('it should return different location question', function () {
   res2 = await ga.utter(‘different Location’);
});

it('it should return different location details’, function () {
   res2 = await ga.utter(‘Walnut Creek CA’);
});

});

Thanks, Angavai S.

AngavaiS commented 6 years ago

Juan and team is so awesome in supporting people @jperata Thanks for all your help in solving my issue. @jperata , you are awesome and so helpful :)

jperata commented 6 years ago

Thank you for using our tools!