Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,7 @@ Thumbs.db

# Ignore built ts files
__tests__/runner/*
lib/**/*
lib/**/*

# Ignore generated database files
database.sqlite3
118 changes: 14 additions & 104 deletions __tests__/data/Attachment.md

Large diffs are not rendered by default.

44 changes: 15 additions & 29 deletions __tests__/data/BuildError.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,19 @@
## Build Summary
## Test Results

<b>Compile ViewController.swift (x86_64)</b>
error:&nbsp;Swift Compiler Error:&nbsp;Consecutive statements on a line must be separated by ';'
error:&nbsp;Swift Compiler Error:&nbsp;Expected expression
```
xcresulttool-example/ViewController.swift:7:28: error: consecutive statements on a line must be separated by ';'
super.viewDidLoad())
^
;
xcresulttool-example/ViewController.swift:7:28: error: expected expression
super.viewDidLoad())
^
```
### Summary
<table>
<tr>
<th>Total<th><img src="https://xcresulttool-static.netlify.app/i/passed.png" alt="Success" title="Success" width="14px" align="top">&nbsp;Passed<th><img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top">&nbsp;Failed<th><img src="https://xcresulttool-static.netlify.app/i/skipped.png" alt="Skipped" title="Skipped" width="14px" align="top">&nbsp;Skipped<th><img src="https://xcresulttool-static.netlify.app/i/expected-failure.png" alt="Expected Failure" title="Expected Failure" width="14px" align="top">&nbsp;Expected Failure<th>:stopwatch:&nbsp;Time
<tr>
<td align="right" width="118px">0<td align="right" width="118px">0<td align="right" width="118px">0<td align="right" width="118px">0<td align="right" width="158px">0<td align="right" width="138px">0.00s
</table>

<b>Compile SceneDelegate.swift (x86_64)</b>
error:&nbsp;Swift Compiler Error:&nbsp;Unnamed parameters must be written with the empty name '_'
error:&nbsp;Swift Compiler Error:&nbsp;Cannot find type 'Type' in scope
error:&nbsp;Swift Compiler Error:&nbsp;Cannot find type 'parameters' in scope
```
xcresulttool-example/SceneDelegate.swift:6:15: error: unnamed parameters must be written with the empty name '_'
func name(parameters) -> Type {
^
_:
xcresulttool-example/SceneDelegate.swift:6:30: error: cannot find type 'Type' in scope
func name(parameters) -> Type {
^~~~
xcresulttool-example/SceneDelegate.swift:6:15: error: cannot find type 'parameters' in scope
func name(parameters) -> Type {
^~~~~~~~~~
```
---

### Test Summary
---

### <img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top"> Failures
All tests passed :tada:

### Test Details
153 changes: 14 additions & 139 deletions __tests__/data/Coverage.md

Large diffs are not rendered by default.

48 changes: 12 additions & 36 deletions __tests__/data/ExampleOnlyFailures.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
## Testing project Weather with scheme Weather
## Test Plan

### Summary
<table>
<tr>
<th>Total<th><img src="https://xcresulttool-static.netlify.app/i/passed.png" alt="Success" title="Success" width="14px" align="top">&nbsp;Passed<th><img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top">&nbsp;Failed<th><img src="https://xcresulttool-static.netlify.app/i/skipped.png" alt="Skipped" title="Skipped" width="14px" align="top">&nbsp;Skipped<th><img src="https://xcresulttool-static.netlify.app/i/expected-failure.png" alt="Expected Failure" title="Expected Failure" width="14px" align="top">&nbsp;Expected Failure<th>:stopwatch:&nbsp;Time
<tr>
<td align="right" width="118px">11<td align="right" width="118px">8<td align="right" width="118px"><b>2</b><td align="right" width="118px">0<td align="right" width="158px">1<td align="right" width="138px">12.25s
<td align="right" width="118px">8<td align="right" width="118px">5<td align="right" width="118px"><b>2</b><td align="right" width="118px">0<td align="right" width="158px">1<td align="right" width="138px">15.09s
</table>

---

### Test Summary
#### <a name="weathertests_summary"/>[WeatherTests](#user-content-weathertests)

- **Device:** iPhone 13 mini, 15.0 (19A339)
- **SDK:** Simulator - iOS 15.0, 15.0
- **Device:** iPhone 13 mini, iOS Simulator 15.0
<table>
<tr>
<th>Test<th>Total<th><img src="https://xcresulttool-static.netlify.app/i/passed.png" alt="Success" title="Success" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/skipped.png" alt="Skipped" title="Skipped" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/expected-failure.png" alt="Expected Failure" title="Expected Failure" width="14px" align="top">
Expand All @@ -25,27 +24,22 @@

#### <a name="weatheruitests_summary"/>[WeatherUITests](#user-content-weatheruitests)

- **Device:** iPhone 13 mini, 15.0 (19A339)
- **SDK:** Simulator - iOS 15.0, 15.0
- **Device:** iPhone 13 mini, iOS Simulator 15.0
<table>
<tr>
<th>Test<th>Total<th><img src="https://xcresulttool-static.netlify.app/i/passed.png" alt="Success" title="Success" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/skipped.png" alt="Skipped" title="Skipped" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/expected-failure.png" alt="Expected Failure" title="Expected Failure" width="14px" align="top">
<tr>
<td align="left" width="368px"><a name="weatheruitests_weatheruitests4_summary"/><a href="#user-content-weatheruitests_weatheruitests4"><img src="https://xcresulttool-static.netlify.app/i/test-class.png" alt="test-class" width="14px" align="top">&nbsp;WeatherUITests4</a><td align="right" width="80px">4<td align="right" width="80px">3<td align="right" width="80px">0<td align="right" width="80px">0<td align="right" width="80px">1
<tr>
<td align="left" width="368px"><a name="weatheruitests_weatheruitestslaunchtests_summary"/><a href="#user-content-weatheruitests_weatheruitestslaunchtests"><img src="https://xcresulttool-static.netlify.app/i/test-class.png" alt="test-class" width="14px" align="top">&nbsp;WeatherUITestsLaunchTests</a><td align="right" width="80px">4<td align="right" width="80px">3<td align="right" width="80px"><b>1</b><td align="right" width="80px">0<td align="right" width="80px">0
<td align="left" width="368px"><a name="weatheruitests_weatheruitestslaunchtests_summary"/><a href="#user-content-weatheruitests_weatheruitestslaunchtests"><img src="https://xcresulttool-static.netlify.app/i/test-class.png" alt="test-class" width="14px" align="top">&nbsp;WeatherUITestsLaunchTests</a><td align="right" width="80px">1<td align="right" width="80px">0<td align="right" width="80px"><b>1</b><td align="right" width="80px">0<td align="right" width="80px">0

</table>

---

### <img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top"> Failures
<h4><a name="weathertests_weathertests/testfail()_failure-summary"/><a href="#user-content-weathertests_weathertests/testfail()">WeatherTests/WeatherTests/testFail()</a></h4>
<table><tr><td align="right" width="100px"><b>File</b><td width="668px">/Users/katsumi/Develop/Weather/WeatherTests/WeatherTests.swift:23<tr><td align="right" width="100px"><b>Issue Type</b><td width="668px">Assertion Failure<tr><td align="right" width="100px"><b>Message</b><td width="668px">XCTAssertEqual failed: ("1") is not equal to ("2")</table>

<h4><a name="weatheruitests_weatheruitestslaunchtests/testlaunch()_failure-summary"/><a href="#user-content-weatheruitests_weatheruitestslaunchtests/testlaunch()">WeatherUITests/WeatherUITestsLaunchTests/testLaunch()</a></h4>
<table><tr><td align="right" width="100px"><b>File</b><td width="668px">/Users/katsumi/Develop/Weather/WeatherUITests/WeatherUITestsLaunchTests.swift:28<tr><td align="right" width="100px"><b>Issue Type</b><td width="668px">Assertion Failure<tr><td align="right" width="100px"><b>Message</b><td width="668px">failed - Fail!!</table>

<h4><a name="weathertests_weathertests/testfail()_failure-summary"/><a href="#user-content-weathertests_weathertests/testfail()">WeatherTests/testFail()</a></h4>
<h4><a name="weatheruitests_weatheruitestslaunchtests/testlaunch()_failure-summary"/><a href="#user-content-weatheruitests_weatheruitestslaunchtests/testlaunch()">WeatherUITestsLaunchTests/testLaunch()</a></h4>

### Test Details

Expand All @@ -56,13 +50,11 @@
<tr>
<th><img src="https://xcresulttool-static.netlify.app/i/passed.png" alt="Success" title="Success" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/skipped.png" alt="Skipped" title="Skipped" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/expected-failure.png" alt="Expected Failure" title="Expected Failure" width="14px" align="top"><th>:stopwatch:
<tr>
<td align="right" width="154px">2 (67%)<td align="right" width="154px"><b>1 (33%)</b><td align="right" width="154px">0 (0%)<td align="right" width="154px">0 (0%)<td align="right" width="154px">0.25s
<td align="right" width="154px">2 (67%)<td align="right" width="154px"><b>1 (33%)</b><td align="right" width="154px">0 (0%)<td align="right" width="154px">0 (0%)<td align="right" width="154px">0.27s
</table>

<table>
<tr><td align="center" valign="top" width="52px"><img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top"><td valign="top" width="716px"><a name="weathertests_weathertests/testfail()"/><img src="https://xcresulttool-static.netlify.app/i/test-method.png" alt="test-method" width="14px" align="top">&nbsp;<code>testFail()</code><a href="#user-content-weathertests_weathertests/testfail()_failure-summary"><img src="https://xcresulttool-static.netlify.app/i/back.png" alt="back" width="14px" align="top"></a><br><br><b>Activities:</b>

- Assertion Failure at WeatherTests.swift:23: XCTAssertEqual failed: ("1") is not equal to ("2")
<tr><td align="center" valign="top" width="52px"><img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top"><td valign="top" width="716px"><a name="weathertests_weathertests/testfail()"/><img src="https://xcresulttool-static.netlify.app/i/test-method.png" alt="test-method" width="14px" align="top">&nbsp;<code>testFail()</code><a href="#user-content-weathertests_weathertests/testfail()_failure-summary"><img src="https://xcresulttool-static.netlify.app/i/back.png" alt="back" width="14px" align="top"></a>
</table>

#### <a name="weatheruitests"/>WeatherUITests[<img src="https://xcresulttool-static.netlify.app/i/back.png" alt="back" width="14px" align="top">](#user-content-weatheruitests_summary)
Expand All @@ -72,7 +64,7 @@
<tr>
<th><img src="https://xcresulttool-static.netlify.app/i/passed.png" alt="Success" title="Success" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/skipped.png" alt="Skipped" title="Skipped" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/expected-failure.png" alt="Expected Failure" title="Expected Failure" width="14px" align="top"><th>:stopwatch:
<tr>
<td align="right" width="154px">3 (75%)<td align="right" width="154px">0 (0%)<td align="right" width="154px">0 (0%)<td align="right" width="154px">1 (25%)<td align="right" width="154px">4.79s
<td align="right" width="154px">3 (75%)<td align="right" width="154px">0 (0%)<td align="right" width="154px">0 (0%)<td align="right" width="154px">1 (25%)<td align="right" width="154px">8.60s
</table>

All tests passed :tada:
Expand All @@ -82,25 +74,9 @@ All tests passed :tada:
<tr>
<th><img src="https://xcresulttool-static.netlify.app/i/passed.png" alt="Success" title="Success" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/skipped.png" alt="Skipped" title="Skipped" width="14px" align="top"><th><img src="https://xcresulttool-static.netlify.app/i/expected-failure.png" alt="Expected Failure" title="Expected Failure" width="14px" align="top"><th>:stopwatch:
<tr>
<td align="right" width="154px">3 (75%)<td align="right" width="154px"><b>1 (25%)</b><td align="right" width="154px">0 (0%)<td align="right" width="154px">0 (0%)<td align="right" width="154px">7.21s
<td align="right" width="154px">0 (0%)<td align="right" width="154px"><b>1 (100%)</b><td align="right" width="154px">0 (0%)<td align="right" width="154px">0 (0%)<td align="right" width="154px">6.22s
</table>

<table>
<tr><td align="center" rowspan="4" valign="top" width="52px"><img src="https://xcresulttool-static.netlify.app/i/mixed-failure.png" alt="Mixed Failure" title="Mixed Failure" width="14px" align="top"><td valign="top" width="716px"><img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top"> <a name="weatheruitests_weatheruitestslaunchtests/testlaunch()"/><img src="https://xcresulttool-static.netlify.app/i/test-method.png" alt="test-method" width="14px" align="top">&nbsp;<code>testLaunch()</code><a href="#user-content-weatheruitests_weatheruitestslaunchtests/testlaunch()_failure-summary"><img src="https://xcresulttool-static.netlify.app/i/back.png" alt="back" width="14px" align="top"></a><br><br><b>Configuration:</b><br><code>XCUIAppearanceMode: 2, XCUIDeviceOrientation: 1</code><br><br><b>Activities:</b>

- Setting device orientation to Portrait
- Wait for com.kishikawakatsumi.Weather to idle
- Setting appearance mode to Dark
- Wait for com.kishikawakatsumi.Weather to idle
- Start Test at 2021-10-17 22:17:51.210
- Set Up
- Open com.kishikawakatsumi.Weather
- Launch com.kishikawakatsumi.Weather
- Terminate com.kishikawakatsumi.Weather:33100
- Setting up automation session
- Wait for com.kishikawakatsumi.Weather to idle
- Find the Target Application 'com.kishikawakatsumi.Weather'
- Added attachment named 'Launch Screen'
- Assertion Failure at WeatherUITestsLaunchTests.swift:28: failed - Fail!!
- Tear Down
<tr><td align="center" valign="top" width="52px"><img src="https://xcresulttool-static.netlify.app/i/failure.png" alt="Failure" title="Failure" width="14px" align="top"><td valign="top" width="716px"><a name="weatheruitests_weatheruitestslaunchtests/testlaunch()"/><img src="https://xcresulttool-static.netlify.app/i/test-method.png" alt="test-method" width="14px" align="top">&nbsp;<code>testLaunch()</code><a href="#user-content-weatheruitests_weatheruitestslaunchtests/testlaunch()_failure-summary"><img src="https://xcresulttool-static.netlify.app/i/back.png" alt="back" width="14px" align="top"></a>
</table>
Loading
Loading