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
With factories, data can be defined on attributes in a static way, or the fuzzy functions can be utilised.
It has been asserted by some, that the fuzzy functions should be generally avoided, and static values should be used to avoid potential flakiness - if the values differ from test run to test run, there is the potential that one (potentially rare) test run will generate an invalid value, but it may be hard to reproduce and diagnose
We should document approaches for this - e.g.: when (if ever) to use the random generation utils
The text was updated successfully, but these errors were encountered:
I am one of those some :-). This is indeed a good question. There is also a meta-question of how much guidance should be part of the repo/template project documentation and how much should be in a shared location like Notion.
With factories, data can be defined on attributes in a static way, or the fuzzy functions can be utilised.
It has been asserted by some, that the fuzzy functions should be generally avoided, and static values should be used to avoid potential flakiness - if the values differ from test run to test run, there is the potential that one (potentially rare) test run will generate an invalid value, but it may be hard to reproduce and diagnose
We should document approaches for this - e.g.: when (if ever) to use the random generation utils
The text was updated successfully, but these errors were encountered: