Search

Clear filter
Question
Florence Cureau · Aug 26, 2016

Automated testing of Ensemble productions

Hello everyone,Does anyone know how to create integration tests using the Cache unit test framework in order to test an Ensemble production?For example, what would be the best way
Question
Nic Lorenzen · Feb 28, 2016

Mocking tools for Unit Testing

circumvent dependencies when writing and executing unit tests, but I always wondered if someone had ever created a Mock library like Mockito to help quicken the process. Thanks
Question
Tirthankar Bachhar · Oct 20, 2016

%UnitTest Code Coverage

Hi,When we write unit test cases for cache object script code using %UnitTest.TestCase, what is the best way to write code to identify code coverage?So, let say my unit test case
Question
Murali krishnan · May 22, 2017

Automation of unit testing in Cache

We understand, unit testing in cache can be done with X Unit testing frameworks. Can we automate unit testing in cache ? . Please let know Yes of course :) Once you create
Question
Tom Philippi · Aug 23, 2017

Testing for not existing item in collection

^Calarm.UserRegistrationProces.Context.1 -- logged as '-' number - @' Set status=1,context.ErrorMessage=callresponse.result.GetAt(1).errors.GetAt(1).messageObviously I need to test if the result exists
Announcement
John Murray · May 22, 2023

InterSystems Testing Manager - a new VS Code extension for the %UnitTest framework

If you have already built unit tests using the %UnitTest framework, or are thinking about doing so, please take a look at InterSystems Testing Manager. Without leaving VS Code
Question
Peter Steiwer · Dec 30, 2019

Testing ZPM locally before publishing

Hi! I am wondering how I can test that my application can be installed through ZPM before I publish it to Open Exchange. How can I accomplish this? Peter Thanks
Question
Jimmy Christian · Feb 8, 2019

Studio Terminal Testing Custom Method

Hello ,I have a class Method ClassMethod SearchOBXFlag(pSourceMsg As EnsLib.HL7.Message, Identifier As %String) As %StringHow can i test this method from terminal or from portal
Question
Stefan Cronje · Jan 7, 2022

Ensemble Production Tests with Deferred Responses

Hi all, I am busy trying out the %UnitTest.TestProduction class to implement some automated production testing. I have a scenario which I am not sure how to get the final
Question
Scott Roth · Jul 8, 2022

Bulk Testing Business Process (Rules)

version. I am trying to come up with a testing process for bulk testing our rules, and wanted to know if this could be done programmatically instead of having to modify all
Question
George Hodder · Feb 16, 2018

Using UnitTest for a RestService

=tProxy.. I get an errror Method Does not exist Any tips on what may be going on? Hi George,I'm most interested in your Question on Unit Testing a REST service.The approach I've
Article
Eduard Lebedyuk · Feb 20, 2018

Determine programmatically if unit tests failed

I needed to know programmatically if last ran failed or not.After some exploring, here's the code: ClassMethod isLastTestOk() As %Boolean { set in = ##class
Article
Daniel Aguilar · Jun 29, 2023

How to Create Newman Tests in Postman

Hello Community! I'm going to try to explain how to create test for Postman collections for use it with my app IRIS Api Tester. Yet, What is Newman?: Newman is a command
Article
Chi Nguyen-Rettig · Mar 16, 2024

Creating Unit Tests in ObjectScript for HL7 pipelines using %UnitTest class

One of the pain points for maintaining HL7 interfaces is the need to run a reliable regression test upon deployment to new environments and after upgrades. The %UnitTest class
Question
Mathew Lambert · Jan 12, 2021

Testing if SQL PurgeForTable went wrong

new queries. Until now in caché we where checking $ZERROR, but as InterSystems is descouraging the use of that variable, I don't know how to surely test this command.