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

feat: Filtering test configurations (iOS TestPlans) #1448

Merged
merged 13 commits into from Jan 21, 2021

Conversation

zuziakaxel
Copy link
Contributor

@zuziakaxel zuziakaxel commented Jan 4, 2021

Fixes #1379

This PR adds to new options for flank:

  • skip-test-configuration
  • only-test-configuration

Flank users can filter test configurations (inside of a test plan).

Test Plan

How do we know the code works?

From project root:

. .env
cd ./test_runner/
flankScripts shell buildFlank 
flank ios run -c ./src/test/kotlin/ftl/fixtures/ios_test_plan.yml

additionally, edit os_test_plan.yml for testing different configurations.

Checklist

  • Documented - updated main docs
  • Unit tested

@piotradamczyk5
Copy link
Contributor

@Mergifyio rebase

@mergify
Copy link

mergify bot commented Jan 7, 2021

Command rebase: success

Branch has been successfully rebased

@bootstraponline bootstraponline force-pushed the 1379-filtering-test-configurations branch from 628e113 to f21a4c8 Compare January 7, 2021 13:19
@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2021

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2021

Timestamp: 2021-01-21 14:13:08
Buildscan url for ubuntu-workflow run 501290257

Copy link
Contributor

@jan-goral jan-goral left a comment

Choose a reason for hiding this comment

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

Implementation looks great 👍

@zuziakaxel zuziakaxel force-pushed the 1379-filtering-test-configurations branch from 4931cb8 to b843395 Compare January 18, 2021 09:01
@zuziakaxel
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@zuziakaxel zuziakaxel marked this pull request as ready for review January 18, 2021 09:05
Copy link
Contributor

@piotradamczyk5 piotradamczyk5 left a comment

Choose a reason for hiding this comment

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

Please update flank.ios.yml

@pawelpasterz
Copy link
Contributor

Please provide a detailed Test Plan. Thanks! 👍

@zuziakaxel zuziakaxel added this to the Sprint -1 milestone Jan 19, 2021
@bootstraponline bootstraponline force-pushed the 1379-filtering-test-configurations branch from b843395 to 8ec53c3 Compare January 19, 2021 15:12
@mergify
Copy link

mergify bot commented Jan 19, 2021

Title does not follow the guidelines of Conventional Commits.
Please adjust title before merge and use one of following prefix:

  • build - Changes that affect the build system or external dependencies (dependencies update)
  • ci - Changes to our CI configuration files and scripts (basically directory .github/workflows)
  • docs - Documentation only changes
  • feat - A new feature
  • fix - A bug fix
  • chore - Changes which does not touch the code (ex. manual update of release notes). It will not generate release notes changes
  • refactor - A code change that contains refactor
  • style - Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test - Adding missing tests or correcting existing tests and also changes for our test app
  • perf - A code change that improves performance (I do not think we will use it)

@jan-goral
Copy link
Contributor

I have read the CLA Document and I hereby sign the CLA

@mergify
Copy link

mergify bot commented Jan 20, 2021

Title does not follow the guidelines of Conventional Commits.
Please adjust title before merge and use one of following prefix:

  • build - Changes that affect the build system or external dependencies (dependencies update)
  • ci - Changes to our CI configuration files and scripts (basically directory .github/workflows)
  • docs - Documentation only changes
  • feat - A new feature
  • fix - A bug fix
  • chore - Changes which does not touch the code (ex. manual update of release notes). It will not generate release notes changes
  • refactor - A code change that contains refactor
  • style - Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test - Adding missing tests or correcting existing tests and also changes for our test app
  • perf - A code change that improves performance (I do not think we will use it)

1 similar comment
@mergify
Copy link

mergify bot commented Jan 20, 2021

Title does not follow the guidelines of Conventional Commits.
Please adjust title before merge and use one of following prefix:

  • build - Changes that affect the build system or external dependencies (dependencies update)
  • ci - Changes to our CI configuration files and scripts (basically directory .github/workflows)
  • docs - Documentation only changes
  • feat - A new feature
  • fix - A bug fix
  • chore - Changes which does not touch the code (ex. manual update of release notes). It will not generate release notes changes
  • refactor - A code change that contains refactor
  • style - Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test - Adding missing tests or correcting existing tests and also changes for our test app
  • perf - A code change that improves performance (I do not think we will use it)

Copy link
Contributor

@Sloox Sloox left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@piotradamczyk5 piotradamczyk5 left a comment

Choose a reason for hiding this comment

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

Still valid comment about missing documentation in flank.ios.yml

build.gradle.kts Outdated Show resolved Hide resolved
Copy link
Contributor

@adamfilipow92 adamfilipow92 left a comment

Choose a reason for hiding this comment

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

Pls remove this spacing and update docs

build.gradle.kts Outdated
"**/*Generated.kt" // we can expand this list
"**/*Generated.kt",
"**/*Test.kt",
"**/Test*.kt" // we can expand this list
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we enable linter for tests in this pr: #1515
88b6c52

Copy link
Contributor

@adamfilipow92 adamfilipow92 left a comment

Choose a reason for hiding this comment

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

👍

@mergify mergify bot merged commit b428402 into master Jan 21, 2021
@mergify mergify bot deleted the 1379-filtering-test-configurations branch January 21, 2021 14:30
@github-actions github-actions bot locked and limited conversation to collaborators Jan 21, 2021
@pawelpasterz
Copy link
Contributor

IT are not updated with new options...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iOS: Support for filtering Test Configurations
6 participants