Assist with Testing Rocket.Chat
    • Dark
      Light
    • PDF

    Assist with Testing Rocket.Chat

    • Dark
      Light
    • PDF

    Article summary

    One of the most effective ways to contribute is by helping to test the Rocket.Chat core server code, as well as its web, desktop, and mobile applications.

    This document provides a guide on how to get involved in testing Rocket.Chat, ensuring its robustness and reliability for users worldwide.

    Testing core server

    Prerequisites

    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: "rocketchat.internal.admin.test"
    name: "RocketChat Internal Admin Test"
    username: "rocketchat.internal.admin.test"
    emails: "[email protected]"
    password: "rocketchat.internal.admin.test"

    Run tests

    Once the server is running in the test mode, you can proceed to run the tests. This process requires opening another terminal window and executing the command below:

    meteor npm run test

    Contributing to Rocket.Chat by testing its core server code and applications is a valuable way to ensure the platform's stability and functionality.

    By following the steps outlined in this guide, you can play a crucial role in the ongoing development and improvement of Rocket.Chat. Your contribution will help maintain the platform's high standards, benefiting users around the globe.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence