You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 29, 2018. It is now read-only.
Most of the unit tests are using test data which are repeated quite often. Mostly there are repeated per test file.
One approach would be to use locale based data, where each test data can be arranged and used.
Example
# yaml
test_feature1:
url: service_url
version: default_test_version
# can be used in test file repeatedly as
I18n.t('test_feature1.url')
I18n.t('test_feature1.version')
Any other suggestion are also welcome.
The text was updated successfully, but these errors were encountered:
Hi,
Most of the unit tests are using test data which are repeated quite often. Mostly there are repeated per test file.
One approach would be to use locale based data, where each test data can be arranged and used.
Example
Any other suggestion are also welcome.
The text was updated successfully, but these errors were encountered: