Welcome

Testing

Requirements

  • Google Chrome Browser

Getting Started

Start Meteor

Run meteor with the command below:

TEST_MODE=true meteor

To run the tests, the server must be started with the environment variable TEST_MODE=true. This will set all animations’ duration to 0 and create an extra admin user with the login values:

_id: "pimentachat.internal.admin.test"
name: "pimentaCHAT Internal Admin Test"
username: "pimentachat.internal.admin.test"
emails: "pimentachat.internal.admin.test@pimenta.chat"
password: "pimentachat.internal.admin.test"

Run Tests

On another terminal window, run the test with the command bellow:

meteor npm run chimp-test