Is there any data Mocking library which can be helpful for Unit test cases writing?
I need to write test cases for Object script but need help for understanding the mock library in IRIS? Or need Suggestion for how to use mocking
Product version: IRIS 2022.1
$ZV: IRIS for UNIX (Apple Mac OS X for x86-64) 2023.1 (Build 235.1U) Fri Jun 2 2023 13:26:44 EDT
Do you mean the populate library?
https://docs.intersystems.com/csp/docbook/Doc.View.cls?FIND=CLASSES+%25L...
Hi @Dheeraj Gupta !
Maybe this article and project by @Henry Pereira could be helpful!
Also this project by @Dmitry Maslennikov could be of help.
If you want mock ObjectScript classes use this :
https://github.com/GendronAC/InterSystems-UnitTest-Mocking
I had used it, it work quiet well.
Just wanted to call people's attention to this new item in the Ideas portal:
https://ideas.intersystems.com/ideas/DPI-I-531
Please upvote if you want to see it get traction!