Make @DefaultLocale
and @DefaultTimeZone
more flexible
#660
Labels
⚙️ component: Pioneer
Issues about Pioneer own things (e.g. utils)
🚦 status: in progress
📖 theme: extensions
🏗️ type: enhancement
We could provide new interfaces (
TimeZoneProvider
andLocaleProvider
) and a way for the user to pull their own implementation intoDefaultLocaleExtension
andDefaultTimeZoneExtension
. I.e.:This way people can have custom logic evaluated at runtime to decide the locale/timezone for any given test.
Note: We can instantiate such classes with JUnit 5's
ReflectionSupport.newInstance()
.The text was updated successfully, but these errors were encountered: