actions-on-google / actions-on-google-testing-nodejs

Apache License 2.0
75 stars 18 forks source link

Library Alpha Discussion: Use Chai or Ava library for assertions? #10

Closed Fleker closed 5 years ago

Fleker commented 6 years ago

Hey AoG Devs!

Now that the alpha version of the testing library has been out for a few weeks, we'd like to get feedback on the behavior and API design of the library.

Ava has built in assertions as part of its framework. Right now we use the Chai library. If we use Ava for all assertions there are fewer dependencies. This question is primarily geared toward the example code that we will have for this library as well as tests that may appear in other samples.

yoichiro commented 6 years ago

I think that we should keep this library more simple. Therefore, +1 to drop the chai dependency. I think that users of this library have the option of whether using the chai or not.