Mock GlideRecords in automation testing
Closed this issue · 1 comments
sgrzemski commented
Hello team,
I am trying to assembly some tests for my automation. This automation is a bunch of Python scripts using PySNC. Unfortunately, I do not have any test SNOW instances to connect to, so I cannot perform the tests as you do in your pipeline. Any idea how should I mock the GlideRecord with some entries inside, so I can iterate over them in the tests?
Many thanks for any ideas!
Best,
Szymon
vetsin commented
Honestly i would juse grab a PDI and point it there, should work fine. https://developer.servicenow.com/dev.do#!/learn/learning-plans/rome/new_to_servicenow/app_store_learnv2_buildmyfirstapp_rome_personal_developer_instances