Closed CedrickFlocon closed 2 years ago
This pull request aims to improve the directory management
ShotFolder class will be responsible of all directory structure.
ShotFolder
ShotExtension
directoryPrefix
Option
Shot.scala
ShotFolder.scala
./gradlew :shot-consumer-flavors:greenExecuteScreenshotTests -PdirectorySuffix=Api26
./gradlew :shot-consumer:executeScreenshotTests -PdirectorySuffix=Api26
It's ready for review @pedrovgs.
:pushpin: References
:tophat: 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
ShotExtension
to adddirectoryPrefix
as anOption
.And construct
ShotFolder
with this field when it's defined.Shot.scala
toShotFolder.scala
How can it be tested?
./gradlew :shot-consumer-flavors:greenExecuteScreenshotTests -PdirectorySuffix=Api26
./gradlew :shot-consumer:executeScreenshotTests -PdirectorySuffix=Api26