aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/RuniOSUnitTestsUnderSimulator.sh
Commit message (Collapse)AuthorAge
* Start updating the unittesting supportGravatar Thomas Van Lenten2016-04-29
| | | | | | | - Remove GTM_ENABLE_LEAKS (pretty stale at this point). - Remove imageFromResource from GTMSenTestCase (asset catalogs, etc. have changed patterns). - Remove XCTest macros that are now supplied by XCTest directly. Checked back to Xcode 6.4 and they are built into XCTest. - Start removing SenTest support.
* support invoking the script via symlinksGravatar Thomas Van Lenten2015-09-08
|
* Change output when simulator fails to open to be a note.Gravatar thomasvl2014-11-17
|
* After switching to Xcode 6, the Simulator sometimes fails to open causing theGravatar thomasvl2014-10-29
| | | | | tests to fail. The projects that have more test targets are more vulnerable to the issue. When the simulator fails to open, we should reset it and try again.
* Use 'iOS Simulator' for Xcode6 and 'iPhone Simulator' for earlier versions ↵Gravatar gtm.daemon2014-10-08
| | | | | | to kill the simulator process. DELTA=8 (7 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=sh=8
* Extend the default timeout for killing apps and allow it to be controlled viaGravatar gtm.daemon2013-09-27
| | | | | an environment variable. DELTA=8 (6 added, 0 deleted, 2 changed)
* Fix unset variables issue for user dir and env variables.Gravatar gtm.daemon2013-08-30
| | | DELTA=18 (18 added, 0 deleted, 0 changed)
* Revert (script chokes if variables aren't set):Gravatar gtm.daemon2013-08-30
| | | pass optional home directory and environment variables to the iossim binary.
* Pass optional home directory and environment variables to the iossim binary.Gravatar gtm.daemon2013-08-30
| | | DELTA=11 (11 added, 0 deleted, 0 changed)
* Increase the default timeout in the hope it works around problems testingGravatar gtm.daemon2013-04-22
| | | | | | on VMs where it seems the newer simulator is taking longer to start. Drop a TODO that the 10.8 defaults daemon is gonna make near impossible. DELTA=3 (0 added, 2 deleted, 1 changed)
* Try and make scripted builds more stable by killing the app being launched toGravatar gtm.daemon2013-03-01
| | | | | make sure nothing is left between runs to cause problems for the next launch. DELTA=24 (19 added, 0 deleted, 5 changed)
* [Author: altse]Gravatar gtm.daemon2012-11-16
| | | | | | | Fix typo with GTM_USE_TEST_AFTER_BUILD in comments. R=thomasvl APPROVED=thomasvl DELTA=1 (0 added, 0 deleted, 1 changed)
* [Author: thomasvl]Gravatar gtm.daemon2012-08-10
| | | | | | | Updated iossim with support for controlling the startup timeout. Add env variable to the test runner to allow control of the startup timeout. R=dmaclach DELTA=18 (7 added, 0 deleted, 11 changed)
* [Author: thomasvl]Gravatar gtm.daemon2012-08-06
Take 2: Overhaul how iOS unittests are run. Newer versions of Xcode have changes in the Simulator and supporting frameworks so the way GTM had been running unittests no longer works. The Simulator frameworks bail on launch with a zero exit code, so unless you look at the raw output, you don't even notice the tests no longer run. This new way comes from the work done in Chromium to actually launch the unittests fully under the simulator to get them a much more realistic environment. It also takes what was learned there about getting the output of the binary and how to deal with all the different ways a test and the simulator can fail to start along with all the different ways the failures/ crashing of the app can come back. There are some new env variables that let you force a version of the simulator (assuming it is installed) along with one to say if you want to run under iPhone or iPad. - Land a copy of the Chromium iossim util. - Land RuniOSUnitTestsUnderSimulator that uses iossim, projects have to be moved over to use it. R=dmaclach DELTA=227 (227 added, 0 deleted, 0 changed)