Skip to content

Files

This branch is 7523 commits behind IntelRealSense/librealsense:master.

test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 22, 2017
Dec 5, 2017
Jan 30, 2018
Jun 10, 2019
Jun 12, 2018
Jun 12, 2018
Jul 25, 2018
Dec 5, 2017
Dec 25, 2017
Jan 30, 2018
Apr 17, 2018
Jul 11, 2018
Apr 17, 2018
Jul 3, 2018
Dec 5, 2019
Mar 19, 2018
Mar 27, 2018
Jan 30, 2018
Jul 10, 2018
Jul 10, 2018
Jun 6, 2018
Dec 26, 2019
Jul 31, 2018
Apr 23, 2018
Jul 25, 2018
Jan 30, 2018

Nodejs Wrapper Tests

Installing node-librealsense

There are two ways to get node-librealsense module before testing: install from npm and build from source, both used mocha (npm install mocha) as test framework.

Install From Npm

Used for feature validation in released node-librealsense module which updates bi-weekly. Execute npm i under /path/to/wrappers/nodejs/test to download and install latest module from npm.

Build From Source

Used for checking latest features in development branch which hasn't been released on npm. Execute npm list node-librealsense to check if you had installed node-librealsense before, if yes, remove it by using npm remove node-librealsense

Running the Tests

Use mocha to run test cases, for example: Execute mocha *.js for all test cases under /path/to/wrappers/nodejs/test or Execute mocha test-colorizer.js for single test case