ServiceNow/PySNC

Mock GlideRecords in automation testing

Closed this issue · 1 comments

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