# Parallelize builds and tests

**URL:** <https://discuss.bitrise.io/t/parallelize-builds-and-tests/5180>\
**Category:** Question & Answer\
**Created:** [May 24, 2018, 5:00pm UTC](https://discuss.bitrise.io/t/parallelize-builds-and-tests/5180 "2018-05-24T17:00:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joeldrotleff](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@joeldrotleff](https://discuss.bitrise.io/u/joeldrotleff)\
**Post date:** [May 24, 2018, 5:00pm UTC](https://discuss.bitrise.io/t/parallelize-builds-and-tests/5180/1 "2018-05-24T17:00:58Z")

</div>

For a large iOS project our Xcode Build and Xcode Test steps take a significant amount of time (10 minutes on an Elite machine). It’s desirable to have the build “break” if tests fail, but it is not great to have to wait 30 minutes (total) for a build.

Could you make it easy to run the Test step and Build step in parallel on separate machines, but tied together in such a way that if the tests fail the build does not complete (Thus forcing us lazy engineers to fix the unit tests instead of ignoring them).

---

<div class="post-metadata">

**Author:** ![bootstraponline](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bootstraponline](https://discuss.bitrise.io/u/bootstraponline)\
**Post date:** [May 24, 2018, 5:51pm UTC](https://discuss.bitrise.io/t/parallelize-builds-and-tests/5180/2 "2018-05-24T17:51:26Z")

</div>

I think [https://blog.bitrise.io/start-multiple-builds-with-the-same-trigger](https://blog.bitrise.io/start-multiple-builds-with-the-same-trigger) is designed for that use case.

You can start a build job, start a test job, then in the build job wait for the test job to finish.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [June 23, 2018, 5:56pm UTC](https://discuss.bitrise.io/t/parallelize-builds-and-tests/5180/3 "2018-06-23T17:56:05Z")

</div>

Closed on June 23, 2018, 5:56pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
