Giter Site home page Giter Site logo

lyndsey-ferguson / setup_fragile_tests_for_rescan Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 2.0 75 KB

๐Ÿคฎ Deprecated. Please use `fastlane-plugin-test_center`

Home Page: https://github.com/lyndsey-ferguson/fastlane-plugin-test_center

License: MIT License

Ruby 100.00%

setup_fragile_tests_for_rescan's People

Contributors

lyndsey-ferguson avatar pwillsey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pwillsey exhorder

setup_fragile_tests_for_rescan's Issues

custom_report_file_name is deprecated

I'm getting the following error when trying to use the plugin with the example fastfile:
"failure noted: Using a :custom_report_file_name with multiple :output_types (html,junit) will lead to unexpected results. Use :output_files instead."

I haven't been able to fix it using output_files, since it does not support xml output_types.
Do you know how to fix this?

Rerunning tests compiles app each time

It would save a lot of time if the source was only compiled before the first run of the tests. This should be possible with xcodebuild parameter test-without-building

Use skip_testing to speed up scan

Is it possible to use the skip_testing option in scan to avoid re-building after each rescan?

I'm thinking that instead of "patching up" xcodeproj for the next run, one can potentially run scan with the skip_testing + test_without_building options. Depending on the time it takes to build, this could significantly speed things up.

Does this make sense?

Unable to run failed tests

[09:39:07]: Exit status: 65
+--------------------+---+
| Test Results |
+--------------------+---+
| Number of tests | 7 |
| Number of failures | 1 |
+--------------------+---+

[09:39:08]: failure noted: Tests have failed
[09:39:08]: --------------------------------------------
[09:39:08]: --- Step: setup_fragile_tests_for_rescan ---
[09:39:08]: --------------------------------------------
+----------------------------+-------------------------------------+
| Lane Context |
+----------------------------+-------------------------------------+
| PLATFORM_NAME | |
| LANE_NAME | featuretest |
| SCAN_DERIVED_DATA_PATH | /Users/myusername/Library/Develo |
| | per/Xcode/DerivedData/myAppHori |
| | zontal-feecdbysbgyjfzdeythwumcpsam |
| | z |
| SCAN_GENERATED_PLIST_FILES | ["/Users/myusername/Library/Deve |
| | loper/Xcode/DerivedData/myAppHo |
| | rizontal-feecdbysbgyjfzdeythwumcps |
| | amz/Logs/Test/A2F4CF43-D08E-4BBF-A |
| | 3D3-8B4A49062FEA_TestSummaries.pli |
| | st"] |
| SCAN_GENERATED_PLIST_FILE | /Users/myusername/Library/Develo |
| | per/Xcode/DerivedData/myAppHori |
| | zontal-feecdbysbgyjfzdeythwumcpsam |
| | z/Logs/Test/A2F4CF43-D08E-4BBF-A3D |
| | 3-8B4A49062FEA_TestSummaries.plist |
+----------------------------+-------------------------------------+
[09:39:10]: Missing end tag for 'unknown' (got "section")
Line: -1
Position: -1
Last 80 unconsumed characters:

+------+------------------------+-------------+
| fastlane summary |
+------+------------------------+-------------+
| Step | Action | Time (in s) |
+------+------------------------+-------------+
| ๐Ÿ’ฅ | scan | 360 |
| ๐Ÿ’ฅ | setup_fragile_tests_f | 0 |
| | or_rescan | |
+------+------------------------+-------------+

+------------+--------------+----------------+
| Plugin updates available |
+------------+--------------+----------------+
| Plugin | Your Version | Latest Version |
+------------+--------------+----------------+
| bluepillar | 0.2.0 | 0.3.0 |
+------------+--------------+----------------+
[09:39:10]: To update all plugins, just run
[09:39:10]: $ fastlane update_plugins

[09:39:10]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

โžก๏ธ Fix for _options
fastlane/fastlane#80 [closed] 0 ๐Ÿ’ฌ
04 Feb 2017

๐Ÿ”— You can โŒ˜ + double-click on links to open them directly in your browser.
/Users/myusername/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/rexml/parsers/baseparser.rb:341:in **`pull_event': [!] Missing end tag for 'unknown' (got "section") (REXML::ParseException)
Line: -1
Position: -1
Last 80 unconsumed characters:

Line: -1
Position: -1
Last 80 unconsumed characters:**
from /Users/myusername/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/rexml/parsers/baseparser.rb:185:in pull' from /Users/myusername/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/rexml/parsers/treeparser.rb:23:in parse'
from /Users/myusername/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/rexml/document.rb:288:in build' from /Users/myusername/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/rexml/document.rb:45:in initialize'
from /Users/myusername/.rvm/gems/ruby-2.4.0/gems/fastlane-plugin-setup_fragile_tests_for_rescan-1.1.0/lib/fastlane/plugin/setup_fragile_tests_for_rescan/actions/setup_fragile_tests_for_rescan_action.rb:10:in new' from /Users/myusername/.rvm/gems/ruby-2.4.0/gems/fastlane-plugin-setup_fragile_tests_for_rescan-1.1.0/lib/fastlane/plugin/setup_fragile_tests_for_rescan/actions/setup_fragile_tests_for_rescan_action.rb:10:in block in run'
from /Users/myusername/.rvm/gems/ruby-2.4.0/gems/fastlane-plugin-setup_fragile_tests_for_rescan-1.1.0/lib/fastlane/plugin/setup_fragile_tests_for_rescan/actions/setup_fragile_tests_for_rescan_action.rb:10:in open' from /Users/myusername/.rvm/gems/ruby-2.4.0/gems/fastlane-plugin-setup_fragile_tests_for_rescan-1.1.0/lib/fastlane/plugin/setup_fragile_tests_for_rescan/actions/setup_fragile_tests_for_rescan_action.rb:10:in run'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/runner.rb:252:in block (2 levels) in execute_action' from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in execute_action'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/runner.rb:230:in block in execute_action' from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/runner.rb:226:in chdir'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/runner.rb:226:in execute_action' from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/runner.rb:148:in trigger_action_by_name'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/fast_file.rb:146:in method_missing' from ../fastlane/Fastfile:20:in rescue in block in parsing_binding'
from ../fastlane/Fastfile:10:in block in parsing_binding' from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/lane.rb:33:in call'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/runner.rb:49:in block in execute' from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/runner.rb:45:in chdir'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/runner.rb:45:in execute' from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/lane_manager.rb:52:in cruise_lane'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/command_line_handler.rb:30:in handle' from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/commands_generator.rb:104:in block (2 levels) in run'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/commander-fastlane-4.4.4/lib/commander/command.rb:178:in call' from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/commander-fastlane-4.4.4/lib/commander/command.rb:153:in run'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/commander-fastlane-4.4.4/lib/commander/runner.rb:476:in run_active_command' from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:39:in run!'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/commander-fastlane-4.4.4/lib/commander/delegates.rb:15:in run!' from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/commands_generator.rb:303:in run'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/commands_generator.rb:42:in start' from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in take_off'
from /Users/myusername/.rvm/gems/ruby-2.4.0@global/gems/fastlane-2.37.0/bin/fastlane:20:in <top (required)>' from /Users/myusername/.rvm/rubies/ruby-2.4.0/bin/fastlane:22:in load'
from /Users/myusername/.rvm/rubies/ruby-2.4.0/bin/fastlane:22:in <main>' from /Users/myusername/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in eval'
from /Users/myusername/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `

'

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.