Apr
01
2011

Cucumber and i18n with interpolation

If you are using cucumber to test a multilingual app, you should check out this post for a step definition that you can use to test multilingual strings. However, most likely you would be using variables in your translation strings. Assuming you have pickle installed (if you don’t you should), you can use the step and step definition below to test strings with variable interpolation

Just like pickle, you can add any number of variables.

posted in Uncategorized by prateek

Follow comments via the RSS Feed | Leave a comment | Trackback URL

Leave Your Comment

 
Powered by Wordpress and MySQL. Theme by openark.org