Hello
I am integrating your survey library into my angular app and I was wondering if it is possible to test the flow of the survey with unit testing without testing the different possible results manually. I have tried to set up a test using karma and jasmine, but got a lot of errors. See attached picture for example of test.
Hope you can help me
Hello,
We are using karma to test SurveyJS library. Look at karma.conf.js file in SurveyJS Library repo
Thanks, Alex
SurveyJS Team
Hello Alex
Thank you very much for your answer. Is there any place in the repo where I can see the tests you have made using karma? Or is there any example I can use to test the flow of my own personal survey. Also I would very much like to test the flow of my own survey with my own defined json object without having to run through the survey over and over in order to test all the possible end results. It is not the survey library I want to test, but I want to check if I have set up the Json object correct (specially the VisibleIf statements and the completedhtml).
Hello Maiken,
Here is the link on our unit test folder on GitHub.
Thank you,
Andrew
SurveyJS Team