Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow runtime test discovery when sharding is disabled by not setting test-targets. This unblocks cucumber testing #822

Conversation

adamfilipow92
Copy link
Contributor

@adamfilipow92 adamfilipow92 commented May 28, 2020

Fixes #815

Checklist

  • Unit tested
  • release_notes.md updated

@adamfilipow92 adamfilipow92 self-assigned this May 28, 2020
@adamfilipow92 adamfilipow92 marked this pull request as draft May 28, 2020 15:48
@adamfilipow92 adamfilipow92 changed the title Prvent set test targets is sharding is disabled and test-targets not set Prevent set test targets is sharding is disabled and test-targets not set May 28, 2020
@codecov-commenter
Copy link

codecov-commenter commented May 28, 2020

Codecov Report

Merging #822 into master will increase coverage by 0.17%.
The diff coverage is 85.18%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #822      +/-   ##
============================================
+ Coverage     78.12%   78.30%   +0.17%     
  Complexity      667      667              
============================================
  Files           149      149              
  Lines          3004     3014      +10     
  Branches        437      439       +2     
============================================
+ Hits           2347     2360      +13     
+ Misses          375      374       -1     
+ Partials        282      280       -2     

release_notes.md Outdated
@@ -9,6 +9,7 @@
- [#805](https://github.com/Flank/flank/pull/805) Fix overlapping results. ([pawelpasterz](https://github.com/pawelpasterz))
- [#812](https://github.com/Flank/flank/issues/812) Convert bitrise macOS workflow to github action. ([piotradamczyk5](https://github.com/piotradamczyk5))
- [#799](https://github.com/Flank/flank/pull/799) Refactor Shared object by splitting it into smaller functions. ([piotradamczyk5](https://github.com/piotradamczyk5))
- [#822](https://github.com/Flank/flank/pull/822) Prevent set test targets is sharding is disabled and test-targets not set. ([adamfilipow92](https://github.com/adamfilipow92))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say it like this:

Allow runtime test discovery when sharding is disabled by not setting test-targets. This unblocks cucumber testing

Copy link
Contributor

@bootstraponline bootstraponline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved, let's update the release note as mentioned.

@adamfilipow92 adamfilipow92 marked this pull request as ready for review May 29, 2020 11:01
@adamfilipow92 adamfilipow92 force-pushed the #815-prevent-set-test-targets-when-disable-sharding-set-to-true branch from 30b0ebe to 483a5f1 Compare May 29, 2020 11:17
@jan-goral jan-goral marked this pull request as draft May 29, 2020 12:44
In CreateAndroidInstrumentationTest
@adamfilipow92 adamfilipow92 marked this pull request as ready for review May 29, 2020 13:25
@adamfilipow92 adamfilipow92 changed the title Prevent set test targets is sharding is disabled and test-targets not set Allow runtime test discovery when sharding is disabled by not setting test-targets. This unblocks cucumber testing Jun 1, 2020
@adamfilipow92 adamfilipow92 merged commit abad4a5 into master Jun 1, 2020
@adamfilipow92 adamfilipow92 deleted the #815-prevent-set-test-targets-when-disable-sharding-set-to-true branch June 1, 2020 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't set TestTargets when disable-sharding: true and test-targets is missing
3 participants