Posted on April 2, 2019 Leave a Comment
If you are testing active assignment rules you need to add it as an DMLOptions during testing else your assignment rule(s) will not get called and your assertion(s) may fail. If you have one active Case Assignment Rule you can use dmlOpts.assignmentRuleHeader.useDefaultRule = true else you need to query for AssignmentRules. To query AssignmentRules you […]
Posted on March 1, 2014 Leave a Comment
Heroku Memcached Cloud Junit Test
Posted on January 7, 2014 Leave a Comment
Spring MVC REST Controller Spring MVC REST Junit Test
Posted on January 9, 2013 Leave a Comment
I was writing allot of test code to create SObjects and all the necessary fields. There are some problems when writing test code when specifying all the necessary fields. Some of the things to consider when creating test fields is required fields and pre-populating lookups. Let us look at some examples: Let’s start of creating […]
Posted on March 24, 2010 6 Comments
Testing an Active/Passive Datapower Cluster is very easy. Just create exactly the same XML Firewall service on both Datapower A and Datapower B appliances. Specify the front End-Handler IP address as the VIP address created. Execute the curl command to run the policy where the VIP is the Front Side Handler. Enable the probes on […]