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

9 Коммитов

Автор SHA1 Сообщение Дата
Marek Cirkos 6f2db35b62 Add FBTestRunner app to test fixtures
Summary:
Since new iOS is much more aggressive on killing apps, we cannot use random apps for our integrations tests anymore (as they get killed).

This diff adds app that uses some system hooks in order to avoid that (eg. by adding `unboundedTaskCompletion`, `continuous` as `UIBackgroundModes` in it's `Info.Plist`) and requesting background task via app delegate.

Reviewed By: antiarchit

Differential Revision: D8348520

fbshipit-source-id: e419774f09a30c57e0eedcb54efdaef10b2bfcc7
2018-06-18 06:52:49 -07:00
Marek Cirkos 62cb8dfd37 Add an app test binary bundle
Summary: Add an app test binary bundle as fixture of unit tests.

Reviewed By: antiarchit

Differential Revision: D6483514

fbshipit-source-id: 0b673a25b5a9f84645c3353f14c8704b9e741ed8
2017-12-07 03:21:49 -08:00
Marek Cirkos bac14c312a Add Mac OSX UITest fixtures
Summary: We can use them for XCUITest test exectiution on OSX

Reviewed By: lawrencelomax

Differential Revision: D6232327

fbshipit-source-id: afdeac6002d92cbb01eb311f018c29fd05f36e93
2017-12-06 01:51:02 -08:00
Marek Cirkos fda0729f4b Add Fixtures for XCUITest
Summary:
Added two fixtures for testing XCUITests:
1) XCUITest target application
2) XCUITest it self

Reviewed By: lawrencelomax

Differential Revision: D6232199

fbshipit-source-id: a2b4a231bb8c9f90a8286bc012c1badc047c5bd9
2017-11-09 14:11:44 -08:00
Lawrence Lomax be36350152 Re-Add Fixutres for a Stalling Test
Summary: This adds the necessary test methods in the Test Fixture. This can then be used for testing stalling.

Reviewed By: marekcirkos

Differential Revision: D4232783

fbshipit-source-id: 99498cdc88f8cafd6a61eacec4a40632bff3062b
2016-11-28 06:34:09 -08:00
Lawrence Lomax a2071fed73 Revert fbxctest changes
Summary: There are is some occasional flakyness in listing tests. Revert for the time being.

Differential Revision: D4161692

fbshipit-source-id: 6397ec10a841cac030e9c9e0e0403ab3f23fe274
2016-11-10 12:04:14 -08:00
Lawrence Lomax ccd2066b11 Add testPossibleStallingOfHostProcess to Test Fixtures
Summary: This additional fixture will enable writing a test for the behaviour when a single test hangs, or would otherwise stop producing meaningful output.

Reviewed By: k21

Differential Revision: D4073844

fbshipit-source-id: 7960df3c66be9b9378595da18283d811d33a8847
2016-11-10 07:34:38 -08:00
Lawrence Lomax 5e82e74773 Commit Fixtures Project
Summary: It's in the `hgignore` so I need to manually `hg add`

Reviewed By: marekcirkos

Differential Revision: D3741645

fbshipit-source-id: 581034571b723a07bea365180582d38bc38e2987
2016-08-19 03:49:17 -07:00
Lawrence Lomax d0bac6e029 Create separate iOS & Mac Test Fixtures
Summary: Being able to disambiguate between iOS and Mac tests is crucial. Adding a target that will allow us to test against these targets.

Reviewed By: k21

Differential Revision: D3716233

fbshipit-source-id: a65c03d6965f33615d0c8fc3cf27e31c76f216b5
2016-08-16 03:19:27 -07:00