Introducing Fork
Another humorous name for a library, but stick with it reader, this similarity is not just a co-incidence. After telling you how amazing Spoon is at speeding up your tests by running all your instrumentation tests in parallel on all connected devices, well here comes Fork, to tell you that this naïve scheduling (their words not mine), is a burden on yourself and your CI. Fork can run your tests even faster!
Fork increases your tests' speed by introducing a concept called Device Pools. In simple terms, imagine you had two identical devices, which are two Sony Xperia Z1s running Android 5.0. Fork will take your test suite and split it in half, running half the tests on each device. Thus, it saves you 50 percent of the test run speed (roughly excluding warm up/setup time).
These device pools come in different flavors for things such as, api level, smallest width, tablet devices, or manual pools, where you declare the device serial id you want to use. More information about device...