Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.81 KB

File metadata and controls

44 lines (32 loc) · 1.81 KB

Quality Assurance and Testing with Chai (freeCodeCamp Project)

This repository contains the completed challenges for the "Quality Assurance and Testing with Chai" module from the freeCodeCamp Quality Assurance curriculum. It demonstrates the use of various assertion methods to perform unit and functional testing in a Node.js environment.

About The Project

This project involves a series of challenges designed to teach the fundamentals of software testing. Starting with a boilerplate Node.js and Express application, the goal is to fix a suite of pre-written tests by implementing the correct assertion methods from the Chai library. The tests are run using the Mocha test framework.

The challenges cover everything from basic assertions (isNull, isDefined) to more complex functional tests involving API endpoints and headless browser testing with Zombie.js.

Technologies Used

  • Backend: Node.js, Express.js
  • Testing Framework: Mocha
  • Assertion Library: Chai
  • Headless Browser Testing: Zombie.js

Getting Started

To get a local copy of this project up and running, follow these steps.

  1. Clone the Repository

    • Replace MevinuMethdam/fcc-javascript-tests.git with your actual repository URL.
    git clone [https://github.com/MevinuMethdam/fcc-javascript-tests.git](https://github.com/MevinuMethdam/fcc-javascript-tests.git)
  2. Navigate to the Project Directory

    cd fcc-javascript-tests
  3. Install Dependencies

    • This will install all the necessary packages like Express, Chai, and Mocha.
    npm install
  4. Run the Application and Tests

    • This command starts the server and automatically runs the test suite.
    npm start

    The application will be available at http://localhost:3000.