Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How start GHUnit tests without tapping Run button?

I use GHUnit framework for testing static library. At this moment I need tap the button Run to start my tests. But I would like to start tests when application launched because I need teamcity launch my testApp. So how can I modified standart UI and start tests automatic?

like image 780
user633101 Avatar asked Apr 04 '11 18:04

user633101


1 Answers

Do Product -> Edit Scheme… -> Arguments -> Environment Variables, then set GHUNIT_AUTORUN to YES.

like image 66
lowell Avatar answered Nov 03 '22 16:11

lowell