Xceptance / neodymium-library

A test automation library based on common other best practice open source libraries. It adds missing functionalities but does not reinvent the wheel. Just glues stuff together nicely and adds some sprinkles.
MIT License
80 stars 11 forks source link

Verify if the configured locale matches a given list of locales #171

Closed occupant23 closed 4 months ago

occupant23 commented 3 years ago

Add a function to verify if the current configured locale matches one from a given list of locales. Build the function analog to Neodymium.isSite(String... sites) a function that checks the locale.

Function signature should look like this: Neodymium.isLocale(String... locales)

occupant23 commented 3 years ago

@georgkunze: Please create a separate branch(from dev) for this. Please add unit tests similar to the ones for isSite.

occupant23 commented 3 years ago

@georgkunze Please add/adjust the documentation for this feature and add a comment here wehen done.

georgkunze commented 3 years ago

@occupant23 documentation is done in the isLocale branch of the wiki.

georgkunze commented 6 months ago

@wurzelkuchen Please review