Skip to content

A project demonstrating JavaScript unit and functional testing principles using Mocha and Chai, as part of the freeCodeCamp Quality Assurance curriculum.

Notifications You must be signed in to change notification settings

MevinuMethdam/fcc-javascript-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

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.

About

A project demonstrating JavaScript unit and functional testing principles using Mocha and Chai, as part of the freeCodeCamp Quality Assurance curriculum.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published