Posts

Showing posts from January, 2015

Using dart test_runner on Ubuntu

Not being able to easily run my browser test is a pain so I tried to give a shot to the new test_runner package from Nicolas Garnier. However having content_shell setup is not a done deal so thanks to http://japhr.blogspot.fr/2014/09/dart-content-shell-on-debian.html  I was able to set it up conveniently Download content shell and add it to the path cd $DART_TOP/chromium ./download_contentshell.sh unzip content_shell-linux-x64-release.zip CONTENT_SHELL_PATH=$(ls -d drt-*) PATH=$PATH:$CONTENT_SHELL_PATH install the missing package (fonts) sudo apt-get install wdiff ttf-indic-fonts ttf-mscorefonts-installer ttf-dejavu-core ttf-kochi-gothic ttf-kochi-mincho Make sure you have everything in your path (pub, dart2js, ~/.pub-cache/bin) and run_tests can be ran on any project. I had to rename some files to have the expected conventions.