Summary:
Before running the test suite, build wilde and run it on a local emulator.
This takes about 15 mins on a lego-mac with a warm cache.
It's probably worth splitting out the normal unit tests into a separate job, so we get quicker feedback on them. I'll do that in a separate diff.
Lets run this for a while, and see how it goes, I'm wondering if it might get flaky because it will be building the master version of wilde, so potentially could be broken a lot, though it's passed evry time I've tried it so far.
If it's reliable, we can run the same thing with loads of other apps in parallel.
Reviewed By: passy
Differential Revision: D10110408
fbshipit-source-id: 61c549eb1b9d04729dcb5ed01271a484af4777f5
Summary: Take care of the test class names.
Reviewed By: danielbuechele
Differential Revision: D10113028
fbshipit-source-id: c8f0967fe2ae8c0f416e0f2f1eab30785fad01e8
Summary:
Adding support for JS testing. Currently there are two environments tests can run in: node and electron. To select which environment to run a test in, name your test file accordingly `*.node.js` or `*.electron.js` and put it in a `__tests__` folder.
- `yarn test` to run node based tests
- `yarn test-electron` to run electron tests
A basic snapshot test of the empty app is added to make sure the app is rendering as expected. A test for the server is added to make sure when Flipper is started the two servers (secure and insecure) are started and ready to accept connections.
Reviewed By: passy
Differential Revision: D10050212
fbshipit-source-id: 8ef7f931339b43251d9d423886bcaca99ae691e4
Summary:
The manifest is invalid without a package name and causes CI
to fail in some weird ways.
Reviewed By: jknoxville
Differential Revision: D10123737
fbshipit-source-id: d4adc84e6c1a4297fc1b30720f131fd06c22c4d3
Summary: This confused Android Studio real bad.
Reviewed By: danielbuechele
Differential Revision: D10103210
fbshipit-source-id: 20b28575942998fa0c646090e46a2f55983a26a6
Summary: update docs to match new styling API and rename from Sonar to Flipper.
Reviewed By: passy
Differential Revision: D10107270
fbshipit-source-id: 75d7a06c88795aa1d3dce8f135f3a9c21d5d038d
Summary: Will reenable the Circle CI job for automatic snapshot publishing.
Reviewed By: danielbuechele
Differential Revision: D10107227
fbshipit-source-id: 5c76287e71fa2328b4b2d33be14792d2fdb1d209
Summary: This is from before we adopted the gradle standard layout.
Reviewed By: danielbuechele
Differential Revision: D10101917
fbshipit-source-id: f45ab06cbf4d56a70df1cac6cb1fd234148d2634
Summary:
Adds a test runner for jest test and adds three simple test cases:
- render the app
- start a server
- client connecting to the app
Test can be run using `yarn test`.
To make the test runner work, some changes needed to be made:
- remove the export of `init()` from `'flipper'`, because it was a cyclic dependency
- updating Button.js to the new ref-API
Reviewed By: jknoxville
Differential Revision: D10027078
fbshipit-source-id: 49107b0dd4dec666b92ecd841422fe7e6b3a7756
Summary:
Apparently, `--quiet` is *too* quiet on "dumb" terminals,
staying quiet for longer than 10 minutes on Circle CI, causing
the jobs to fail.
Pull Request resolved: https://github.com/facebook/flipper/pull/282
Reviewed By: jknoxville
Differential Revision: D10083183
Pulled By: passy
fbshipit-source-id: 6d006ab8aa2954d72d545bcef5d9e2d863a9f6a3
Summary: Currently sample app instacrashes due to native lib renamed to flipperfb.
Reviewed By: passy
Differential Revision: D10051573
fbshipit-source-id: a739a6f354c2ef2b5576c1e82728a5db2714ace2
Summary: Previous diffs fixed all compilation issues, this one makes them actually pass again.
Reviewed By: danielbuechele
Differential Revision: D10050632
fbshipit-source-id: 7e9f30c51d192b9f7e43abec8a19b2f1eef997df
Summary: Check that it never hangs or crashes during startup
Reviewed By: priteshrnandgaonkar
Differential Revision: D10034630
fbshipit-source-id: b69ce9e6f91a5499a084c4d7328e6934ec92ece4
Summary: New 0.8.0 release which includes name changes from sonar to flipper.
Reviewed By: passy, danielbuechele
Differential Revision: D10050160
fbshipit-source-id: 5394ea0d032cea39f40cc9ed8e0f054e506d4f04
Summary: Per title. Tried to only update the things I touched myself.
Reviewed By: jknoxville
Differential Revision: D10028023
fbshipit-source-id: 09b56ea9d19caa277a107e4ea970d3ebb28b2165
Summary: This shouldn't have any effect on anything, it doesn't need to be any particular value.
Reviewed By: danielbuechele
Differential Revision: D9944462
fbshipit-source-id: f84c70b3cd18fdfe1d41f07b5b0ede2fdec3f44a
Summary: Use inline source maps for plugins and main bundle, both in production and development.
Reviewed By: passy
Differential Revision: D9967235
fbshipit-source-id: 245e65c6fea94b93dc34a65ae572b7fc98ad56e1
Summary:
Only public reference touched is `toSonarObject()`.
The controller you requested could not be found.
Reviewed By: jknoxville
Differential Revision: D10009071
fbshipit-source-id: 985b472403d9ddd8e390620fb7896df93366dbef
Summary: We are referencing a no longer existing folder.
Reviewed By: priteshrnandgaonkar
Differential Revision: D10009244
fbshipit-source-id: 710c363fdeaf4f8621eb5f5d0bde2cbd4295ae64
Summary: Part of sonar to flipper rename
Reviewed By: priteshrnandgaonkar
Differential Revision: D9929102
fbshipit-source-id: 88cdbd33aa5c76e386449f54f4eb8c6435865ed1
Summary: Part of sonar to flipper rename
Reviewed By: passy
Differential Revision: D9929101
fbshipit-source-id: f33e1ac7f88fbe88a9d48180d064b596603a3c58
Summary: Part of sonar to flipper rename
Reviewed By: passy
Differential Revision: D9920332
fbshipit-source-id: 99b5cf33c07ca5d9cd59af21490fea18272e67d9