Execute Automated Test Script by Cronjob


Berikut adalah salah satu contoh command untuk menjalankan automated test script dari cron job.


15 09 * * * xvfb-run -a -s "-screen 0 1024x768x24" /usr/bin/mocha /home/kiki/project/automation/web/test_login.spec.js

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s