Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge c355cf91be [xharness] Refactor how we do simulator configuration.
Split out the code to prepare the simulator from the AppRunner class,
which is now just handling the logic required for each test run.

This way it's easier to handle simulator preparation for multiple
test runs with the same simulator.

Also revamp logging to avoid printing directly to the console, but
instead use the logging classes that permit redirecting logging
to a file. This makes the html report show better logging.
2016-06-28 13:04:47 +02:00
Rolf Bjarne Kvinge 1a48c36efd [xharness] When capturing the system log for simulator runs, don't capture contents of the log from before our test run starts. 2016-06-28 13:02:12 +02:00
Rolf Bjarne Kvinge fa33176ba8 [xharness] Cleanup must be done by the last test, not the first test. 2016-06-28 13:02:09 +02:00
Rolf Bjarne Kvinge 93f0b92eac [xharness] iPhone 4s doesn't exist anymore, use iPhone 5 instead. 2016-06-28 13:02:03 +02:00
Sebastien Pouliot ddc3a56e68 [tests][harness] Add kTCCServiceMediaLibrary to avoid privacy popup (#230)
Running some API without permission can crash some tests.
2016-06-28 12:59:25 +02:00
Rolf Bjarne Kvinge 278550795e [xharness] Fix simulator validation check to not fail when it shouldn't. (#265) 2016-06-24 01:03:36 -07:00
Rolf Bjarne Kvinge 64bc391669 [xharness] Fix NRE when running from the command line. (#207)
* [xharness] Log simulator loading and handle any exceptions.

* [xharness] Add missing tests.

* [xharness] Throw a helpful exception instead of NRE when a simulator can't be found.

* [xharness] Fix null reference exception.
2016-06-15 18:57:47 -07:00
Rolf Bjarne Kvinge 9a20b42bd6 [xharness] No need to prepare the simulator more than once. 2016-06-15 10:51:14 -07:00
Rolf Bjarne Kvinge 0c1f235800 [xharness] Fix simulator configuration to do all configuration before first launch. 2016-06-15 10:51:14 -07:00
Rolf Bjarne Kvinge 2d3001cd25 [xharness] Don't fail a machine has never seen a crash report. 2016-06-15 10:51:14 -07:00
Rolf Bjarne Kvinge d135612f59 [tests] Implement support in xharness for running the simulator tests grouped by simulator, and write out an html report. 2016-06-15 10:51:14 -07:00
Rolf Bjarne Kvinge aaae585d52 [xharness] Xcode 7.3 ships symbolicatecrash in a new place, so look there as well. (#134) 2016-06-06 15:32:09 +02:00
Rolf Bjarne Kvinge ecfdea9508 [tests] Import 2016-05-26 15:06:52 +02:00