2012-12-24から1日間の記事一覧

gruntでヘッドレステストする

準備 まず、grunt-jasmine-runnerをインストールします。 $npm install grunt-jasmine-runner 次に、phantomjsにパスを通します。homebrewで持ってくるか公式サイトでダウンロードしてきましょう。 $brew install phantomjs grunt.js内の記述は以下の通りで…