[chromium-dev] Re: How to run chrom automation test

2009-08-28 Thread Nico Weber

Most (all?) of the uitests are compiled into an executable called uitests. Use

xcodebuild/Debug/ui_tests --gtest_print_time

to list all test names, then do

xcodebuild/Debug/ui_tests --gtest_filter=SavePageTest.SaveHTMLOnly

to execute the test you want.

ps: First hit when searching for running chromium ui tests:
http://code.google.com/p/chromium/wiki/RunningChromeUITests

On Thu, Aug 27, 2009 at 7:56 PM, hap 497hap...@gmail.com wrote:
 Hi,

 In src/chrome/test/automation, it has a automation_proxy_uitest.cc, How can
 I run the automation test on MacOSX?
 I see that is a directory
 xcodebuild/chrome.build/Debug/automated_ui_tests.build, but there is no
 *.app under there.

 Thank you for any tip.

 


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: How to run chrom automation test

2009-08-28 Thread Nico Weber

I don't know. But I'm sure a search engine of your choice can help you here :-)

The steps should be somewhere along the lines of open
chrome.xcodeproj, select 'run ui_tests' in the overview dropdown, edit
project settings to add a command-line param, hit debug. I'm sure
you'll figure it out.

On Fri, Aug 28, 2009 at 9:03 AM, hap 497hap...@gmail.com wrote:
 Thank you. I ran the Automation UI test by  ./ui_tests
 --gtest_filter=Automation*
 Can you please tell me how can I run it in XCode so that I can debug/step
 thru each Test Case?

 On Fri, Aug 28, 2009 at 7:20 AM, Nico Weber tha...@chromium.org wrote:

 Most (all?) of the uitests are compiled into an executable called
 uitests. Use

    xcodebuild/Debug/ui_tests --gtest_print_time

 to list all test names, then do

    xcodebuild/Debug/ui_tests --gtest_filter=SavePageTest.SaveHTMLOnly

 to execute the test you want.

 ps: First hit when searching for running chromium ui tests:
 http://code.google.com/p/chromium/wiki/RunningChromeUITests

 On Thu, Aug 27, 2009 at 7:56 PM, hap 497hap...@gmail.com wrote:
  Hi,
 
  In src/chrome/test/automation, it has a automation_proxy_uitest.cc, How
  can
  I run the automation test on MacOSX?
  I see that is a directory
  xcodebuild/chrome.build/Debug/automated_ui_tests.build, but there is no
  *.app under there.
 
  Thank you for any tip.
 
   
 



--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: How to run chrom automation test

2009-08-28 Thread hap 497
Thank you. I ran the Automation UI test by  ./ui_tests
--gtest_filter=Automation*
Can you please tell me how can I run it in XCode so that I can debug/step
thru each Test Case?


On Fri, Aug 28, 2009 at 7:20 AM, Nico Weber tha...@chromium.org wrote:

 Most (all?) of the uitests are compiled into an executable called
 uitests. Use

xcodebuild/Debug/ui_tests --gtest_print_time

 to list all test names, then do

xcodebuild/Debug/ui_tests --gtest_filter=SavePageTest.SaveHTMLOnly

 to execute the test you want.

 ps: First hit when searching for running chromium ui tests:
 http://code.google.com/p/chromium/wiki/RunningChromeUITests

 On Thu, Aug 27, 2009 at 7:56 PM, hap 497hap...@gmail.com wrote:
  Hi,
 
  In src/chrome/test/automation, it has a automation_proxy_uitest.cc, How
 can
  I run the automation test on MacOSX?
  I see that is a directory
  xcodebuild/chrome.build/Debug/automated_ui_tests.build, but there is no
  *.app under there.
 
  Thank you for any tip.
 
   
 


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---