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

Directory suffix #259

Merged
merged 4 commits into from
Dec 6, 2021
Merged

Directory suffix #259

merged 4 commits into from
Dec 6, 2021

Conversation

CedrickFlocon
Copy link
Contributor

@CedrickFlocon CedrickFlocon commented Oct 21, 2021

📌 References

🎩 What is the goal?

This pull request aims to improve the directory management

How is it being implemented?

ShotFolder class will be responsible of all directory structure.

What's Next

  • Update ShotExtension to add directoryPrefix as an Option.
    And construct ShotFolder with this field when it's defined.
  • Move hard coded file name & path from Shot.scala to ShotFolder.scala

How can it be tested?

  • Use case 1: Product Flavor & Directory suffix
    • run ./gradlew :shot-consumer-flavors:greenExecuteScreenshotTests -PdirectorySuffix=Api26
  • Use case 2: Directory suffix
    • run ./gradlew :shot-consumer:executeScreenshotTests -PdirectorySuffix=Api26

@CedrickFlocon CedrickFlocon marked this pull request as ready for review October 21, 2021 15:05
@CedrickFlocon CedrickFlocon marked this pull request as draft October 21, 2021 15:40
@CedrickFlocon CedrickFlocon marked this pull request as ready for review October 25, 2021 09:15
@CedrickFlocon
Copy link
Contributor Author

It's ready for review @pedrovgs.

Copy link
Owner

@pedrovgs pedrovgs left a comment

Choose a reason for hiding this comment

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

This is just perfect @CedrickFlocon 😃 I wanted to refactor this code long ago but I never find time for this. Thank you so much 😃

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.

2 participants