https://github.com/webbestmaster/i-fak-u
i fak u test
https://github.com/webbestmaster/i-fak-u
Last synced: over 1 year ago
JSON representation
i fak u test
- Host: GitHub
- URL: https://github.com/webbestmaster/i-fak-u
- Owner: webbestmaster
- License: mit
- Created: 2017-03-14T08:43:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-19T17:37:49.000Z (over 9 years ago)
- Last Synced: 2025-01-14T23:46:29.443Z (over 1 year ago)
- Language: JavaScript
- Size: 25.2 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# i-fak-u
i fak u test
## Install
### Dependencies
This needed only for nodeJs canvas, see more here - https://www.npmjs.com/package/canvas
> Ubuntu: sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
> OS X: brew install pkg-config cairo libpng jpeg giflib
#### Test
1 - Install all dependencies for selenium-screen-master
2 - Install mocha globally
>$ npm i && sudo npm i -g mocha
Run test
>$ npm test
OR
>MODE=COLLECT ./test/run-single.sh ./test/country.js
>MODE=TEST ./test/run-single.sh ./test/country.js <=> ./test/run-single.sh ./test/country.js
#### Recommendations
Use for test mocha + mochawesome + mochawesome/addContext + chai.
See ./test/test.js and ./test/test.sh as example to create beautiful test report.
To see my solution run tests for this projects.