parsing - Configure cultureInfo for Specflow -
i have 2 machines different cultures format mm/dd/yyyy
parsed specflow (it's step argument) in 1 fails in other.
i want tests culture independent. how configure specflow use cultureinfo.invariantculture
parsing dates ?
well, nobody answered this. solution problem edit app.config
file , add <bindingculture name="en-us" />
in <specflow>
config section.
this forces specflow, on both machines, correctly parse mm/dd/yyyy
date format.
Comments
Post a Comment