# How to print Log summary and the test that does not pass

**URL:** <https://discuss.bitrise.io/t/how-to-print-log-summary-and-the-test-that-does-not-pass/3147>\
**Category:** Question & Answer\
**Created:** [October 27, 2017, 2:50am UTC](https://discuss.bitrise.io/t/how-to-print-log-summary-and-the-test-that-does-not-pass/3147 "2017-10-27T02:50:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![YannickSteph](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/yannicksteph/32/931_2.png) [@YannickSteph](https://discuss.bitrise.io/u/YannickSteph)\
**Post date:** [October 27, 2017, 2:50am UTC](https://discuss.bitrise.io/t/how-to-print-log-summary-and-the-test-that-does-not-pass/3147/1 "2017-10-27T02:50:16Z")

</div>

How to print Log summary when build success and the tests that does not pass of XCode project in slack ?  
I programmed the slack bot, but i want print when the tests not pass, the function where tests fail example :

```auto
    ✓ test_blabla (0.000 seconds)
GenericTests.GenericTests
  test_interactorDid_success, expected to equal <true>, got <false>
  /Users/vagrant/git/Generic.swift:546

```

```
    // Then
    expect(self.mock) == true
}

```

```auto

```

I use the platform web.  
Thanks you 🙂

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 28, 2017, 8:22am UTC](https://discuss.bitrise.io/t/how-to-print-log-summary-and-the-test-that-does-not-pass/3147/2 "2017-10-28T08:22:35Z")

</div>

Please vote & comment on the related #feature-request : [Surface Xcode Test Results as Bitrise Output Variable](http://discuss.bitrise.io/t/surface-xcode-test-results-as-bitrise-output-variable/1630)

You can find more information about what the issue with this and what workarounds are available right now 🙂

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 28, 2017, 8:22am UTC](https://discuss.bitrise.io/t/how-to-print-log-summary-and-the-test-that-does-not-pass/3147/3 "2017-10-28T08:22:38Z")

</div>


