Giter Site home page Giter Site logo

Comments (5)

 avatar commented on July 27, 2024 6

@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.

zanizrules avatar zanizrules commented on July 27, 2024 1

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.

dheerajSingla0 avatar dheerajSingla0 commented on July 27, 2024

I am facing the same issue. Have you found any work around or any solution?

from trainer.

bitcoder avatar bitcoder commented on July 27, 2024

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.

pyby avatar pyby commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.