Comments (5)
@bitcoder The following configuration worked for me.
The main config is
result_bundle: true
trainer(path: "./fastlane/test_output", output_directory: "./fastlane")
default_platform(:ios)
platform :ios do
desc "Run tests"
lane :test do
scan(scheme: "UnitTest-Calculator",
output_types: "",
fail_build: false,
result_bundle: true
)
trainer(path: "./fastlane/test_output", output_directory: "./fastlane")
end
end
from trainer.
Unfortunately the only solution was to use another tool: xcpretty.
You can see an example here: https://confluence.xpand-it.com/display/XRAY/Testing+iOS+apps+using+XCTest+in+Swift
Issue I found after switching to rely on xcpretty is it can only handle basic use cases. For me I needed it to work with multiple devices so I put together this plugin
from trainer.
I am facing the same issue. Have you found any work around or any solution?
from trainer.
Unfortunately the only solution was to use another tool: xcpretty.
You can see an example here: https://confluence.xpand-it.com/display/XRAY/Testing+iOS+apps+using+XCTest+in+Swift
from trainer.
We have the same issue with Xcode 11.2 and Mojave 10.14.6.
The current workaround we applied is to copy the last xcresult
bundle to the fastlane
folder (or project folder to not add path
to trainer
action…).
trainer
parses xcresult
bundles. It's ok for that.
Xcode only keep the latest 2 xcresult bundles. If "latest bundle" is not safe enough, for sure, trainer
has to check LogStoreManifest.plist
.
from trainer.
Related Issues (20)
- Trainer fails when Scan fails HOT 5
- Trainer succeeds even though one of the test targets of the scheme has failed HOT 1
- Cannot load such file -- fastlane HOT 9
- `Helper.gem_path` is deprecated. Use the `ROOT` constant from the appropriate tool module instead. HOT 1
- trainer Fails When xcodebuild Quits With Exit Status 65 HOT 13
- Add support for test failure formatting
- [ HOT 1
- [Feature Request] Dump crash file for a crashing test into JUnit failure node
- trainer fastlane plugin should mimic fastlane's scan behavior HOT 1
- unable to install: dependency unf_ext 0.0.7.5 ERROR failed to build gem native extension HOT 1
- Support for Xcode 11 HOT 17
- Bloated installation HOT 2
- Can't install trainer.
- Support for XCTest skipping HOT 2
- Attachments support HOT 1
- xcpretty_naming does when test results are in a .xcresult file.
- Create outputs for number of tests executed
- Is this project still active, now that `trainer` has been incorporated into Fastlane? HOT 4
- Cannot load such file -- fastlane_core (LoadError) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trainer.