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

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -