sudo apt-get install -y nodejs git-core
Official Fedora Node.js and npm packages are available in Fedora 18 and later. Install with:
sudo yum install nodejs npm git
Enterprise Linux (RHEL and CentOS) users may use the Node.js and npm packages from the EPEL repository.
Install the appropriate epel-release RPM for your version (found on the EPEL repository homepage), then run:
sudo yum install nodejs npm --enablerepo=epel
sudo yum install git
Not supported for now.
See this guide.
## Setup
git clone https://github.com/Herve-M/todomvc-bench-latece.git &&
cd todomvc-bench-latece && git checkout master &&
npm install &&
grunt setup
You must first choose a version to work with, Master or 1.3.0.
After do grunt generate-*version*
, (replace version with master or 130).
At end launch the test with grunt test-advanced-phjs
If you launch many time the test and ended it not carefully, you will have some memory problem. So you can generate "cleaners".
grunt generate-*version*-clean && grunt clean-todo
To see all available commands use grunt
grunt setup
: Clone TodoMVC Git repo && setup nmp/bower on master branchgrunt setup-130
: Clone TodoMVC Git repo && setup npm/bowwer on 1.3.0 taggrunt generate-master
: Generate test scripts for master branchgrunt generate-130-all
: Generate test scripts for all Framework on 1.3.0 taggrunt generate-130-tested
: Generate test scripts for all tested Framework on 1.3.0 taggrunt generate-clean
: Generate cleaning scripts for master branchgrunt generate-130-clean
: Generate cleaning scripts for 1.3.0 taggrunt test-advanced-phjs
: Launch all test with PhantomJS
Do a bug in grunt-casper using "parallel" option stop tests set on first failure.
Do a bug in grunt-casper no Xunit file can be saved.
This is only because the option "parallel" must be off to bypass another bug.