Skip to content

SalVN/lowbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lowbar

This project involves reimplementing a range of functions from the Underscore library, using Test-Driven-Development to test the functionality of each of the functions.

The following functions have been implemented. Descriptions and examples of how each works can be found in the underscore library.

A seperate binarySearch file, which is imported into the main document, is contained in the lib file and tested seperately.


Getting Started

To run the test suite for this project, the following steps should be taken.


Prerequisites

This project requires nodejs and npm to be installed.

If nodejs is not installed on your machine, refer to the node documentation for instructions.

To confirm you have npm installed on your machine, run the following code:

npm -v

If you don't have npm installed on your machine, instructions for installing npm can be found at [https://www.npmjs.com/get-npm].


Running the tests

Each function is tested with a series of tests, which use the Mocha test framework alongside the Chai assertion library. Istanbul NYC is used to provide code coverage tests. Sinon spy is used in some tests. To run the tests, please follow the following instructions.

  1. Download dependencies

Ensure the dependencies are installed locally, by running npm install

npm install
  1. Run the test suite
npm test

Dependencies

All dependencies are development dependencies, used in the test suite.


Authors

Sally Newell salvn


Acknowledgments

Inspired by Underscore js and completed as part of a project at Northcoders

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors