-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Unit Test Cases for each testable unit. #29
Comments
I'm working on a test infrastructure that will make the tests really simple to implement. You wil extend a base test class and you will have to implement two methods. The first one is the usual defineBehavior from the BaseBehavior/AbstractFbBot. The second one will return an array of an expected result objects which is a tuple of messages to be send to the bot and result expected from Facebook. If the result mismatch, the tests fail. The infrastructure will also skip automatically the tests if the environment variables are not set, so it will pass local builds. |
No description provided.
The text was updated successfully, but these errors were encountered: