A simple Salesforce data generator and a utility to generate the base of the factory for each class.
Build factories:
- Add user credentials to
generate_classes.py
- Set
object_name
ingenerate_classes.py
to the object you'd like to generate a factory for - Run
python generate_classes.py
- Update the resultant factory in
factories/
with additional data fakers. See [https://faker.readthedocs.io/] for options. Sample Contact factory included.
Insert records using the factories:
- Use a python script similar to
generate_records.py
to generate records using the factories you've built