Background Script

munwala
Kilo Contributor

What I am envisioning is a background script which creates a specific gliderecord, then tests the query for it, then deletes it so you can run that automatically every time you want to test with very little user input?

So I would really appreciate if someone could help me with the script. Thanks!

1 ACCEPTED SOLUTION

It will be good to further see what type of conditions you want to test; but yes, it does makes sense... in most part .



The piece which has me puzzled is why will you like to test a filter against a record and then delete the record? Once you delete it, it's gone! If you run the script again, it will test 0 records.



If you're trying to build a unit testing framework, there are some "still basic" tools out there that can help you with this task. The following links could be of help:



Unit Test Utility - Test Driven Development as we move closer to PaaS


Unit Test Training Video



Thanks,
Berny


View solution in original post

7 REPLIES 7

It will be good to further see what type of conditions you want to test; but yes, it does makes sense... in most part .



The piece which has me puzzled is why will you like to test a filter against a record and then delete the record? Once you delete it, it's gone! If you run the script again, it will test 0 records.



If you're trying to build a unit testing framework, there are some "still basic" tools out there that can help you with this task. The following links could be of help:



Unit Test Utility - Test Driven Development as we move closer to PaaS


Unit Test Training Video



Thanks,
Berny


Thanks Berny for sharing that links. This is very much similar to what I am trying to accomplish.


I can definitely leverage this functionality into mine.


Thanks once again.



Cheers,


Mohammed


Awesome!! If you don't mind, please mark the correct response so that other can refer to it in the future.