I need to check 2 assetions:
- The file content format
- Iterate over that content:
So, the content file must be:
key1=value
key2=value2
...
So, each line must assert <key=value>have the format key=value. Spaces are not allowed before or after the =. This file content has to be an env format file.
By other hand, I need to split out each line into a key and a value inside a loop.
Any ideas?