How use jasmine in atf test

wakespirit
Kilo Guru

Dear all,

 

I am evaluating the ATF in service now and notice that it is using the Jasmin framework.
Am I write to say that jasmine is used to perform Server Side script validation or can it be use to do glide records and verify for instance that stored data is correponding to what expected ?

Do you have a simple clear scenario when I would define my jasmine script for a validation ?

regards

 

1 ACCEPTED SOLUTION
3 REPLIES 3

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

in the below threads, you will find the all the information you need (how and when Jasmine framework is used in the platform), please have a deep look into it:

Jasmine Framework

Can attachment functionality be tested with the ATF?

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

If I come with my question is because I have been through this document already but my question is more on how to ogrnanise test with jasmine.

I have some past testing experience using c# and MS test where unit test was there only to push data in order to manipulate our real code methods
But usually in UnitTest we should not hit the database and does querrys, goal is more to have a much up to present data to our function.

How does it works in ServiceNow actually on the way to organise Unit Testing ?

- Test step can be define to validate Client side by or Server side

Then we could have also some script includes in our SN application , does jasmine script is use to Mok Up our script includes function for instance ?

Regards