Let's say I have a list that has about 210000 english words.
- I need to use all these 210000 words as test case.
- I need to make sure every words in that list is covered every time I run my test.
The question is: What is the best practices to store these words in my test?
should I save all these words in a slice (will it be too large a slice? ), or should I save these words in a external file (like words.txt) and load the file line by line when needed?
Aucun commentaire:
Enregistrer un commentaire