gojuno / composer

Reactive Android Instrumentation Test Runner. Archived. Marathon is recommended as an alternative (https://github.com/Malinskiy/marathon).
Apache License 2.0
546 stars 45 forks source link

[WIP] "Orchestrator like" execution mode #138

Closed tagantroy closed 6 years ago

tagantroy commented 6 years ago

135 implementation

artem-zinnatullin commented 6 years ago

@dsvoronin PTAL

tagantroy commented 6 years ago

@artem-zinnatullin what do you think about 2 strategies: 1) execute all test on each device 2) all devices poll from common queue

dsvoronin commented 6 years ago

what do you think about 2 strategies:

  1. execute all test on each device
  2. all devices poll from common queue

I'm not Artem :) , but we need at least all devices poll from common queue strategy. We spawn N exact clones, and they polls from queue.

We definitely need abstraction for different strategies here

artem-zinnatullin commented 6 years ago

I'd start with just integrating Orchestrator-like process isolation into current shart true/false mode

Dynamic test sharding is just something we can build on top of test parsing, we should allow running dynamically sharded tests without "Orchestrator" right

yunikkk commented 6 years ago

+1 for polling from the main queue and having in mind other strategies in future.

artem-zinnatullin commented 6 years ago

LGTM, let's merge as first part?

yunikkk commented 6 years ago

@artem-zinnatullin yup, the only question is unchecked "Execute list of tests", @tagantroy are you going to add smth here?

tagantroy commented 6 years ago

@artem-zinnatullin @yunikkk let's merge it

yunikkk commented 6 years ago

@tagantroy merged