this project goal is to show number to a LCD screen
(this is a example)
These instructions will get a copy of the project up and running on your local machine for development and testing purposes.
You will need to install the following software:
- Docker Engine >= 18.06.1-ce
- node >= 10.13.0 (chose a LTS version for production)
- npm >= 5.0.0
A step by step that indicates how to get a development env running
git clone [email protected]:Nas84/lcdscreen.git
Then in the folder type
# Install dependencies
npm install
We have several type of tests. The framework we used is Jest.
here the command for running all of our unit tests
# Run the test
npm test
if you need to run only a sub domain you can type
# Run the test
npm test -- <pattern>
See details
In as bash shell, at the root of the folder type:
#run the cli
./bin/lcdscreen.js -s <number>
or you could do:
#run the cli
node ./bin/lcdscreen.js -s <number>
the system test executes the command from a shell. We so, use a shell test framework for executing the command cli as an user/jenkins will do.
First install it, download the file “shunit2” zip and put it on your PATH somewhere. Then launch it by:
chmod +x ./test/system/sys_tests.sh
./test/system/sys_tests.sh
Our stack is build with :
- nodeJs - The framework engine
- Npm - Dependency Management
- Jest - Testing framework for unit and integration
- Shunit2 - Testing framework for system testing
- Docker - The deployment and runtime technology
Please read CONTRIBUTING.md for details on how to support the project, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the releases on this repository.
- Nasser Srairi -