Any recommended Unit testing frameworks for JointJS based single page application?

瀏覽次數:611 次
跳到第一則未讀訊息

Sreenivasulu Valmeti

未讀,
2016年5月26日 凌晨1:29:312016/5/26
收件者:JointJS
Hi All,

I am new to Unit testing of JavaScripts.

There are a wide range of unit testing frameworks available for unit testing the JavaScripts.  E.g. Jasmine, Mocha etc.
We are building a single page application that has the JointJS and RappidJS shapes etc.

Can you please suggest the suitable unit test automation frameworks for testing these client-side scenarios of the JointJS shapes etc?

Thanks in advance.

Regards,
Sreeni

Vladimír Talaš

未讀,
2016年5月26日 清晨6:34:372016/5/26
收件者:joi...@googlegroups.com
Hi Sreeni,

There are no limitatinons which testing framework can be used with, it depends on you which you'll find the best. However, in Joint JS we are using Mocha for server side, QUnit for for client side unit testing, and it could be the right option for you, as the testing infrastucture is already sorted out there (configuration, running tests...). If you take the joint js sources you can run tests with command 'grunt test:client'. It should run tests in PhantomJS, or, you can run it in your browser, simply by opening joint\test\jointjs\index.html. Sources and instructions can be found on github - https://github.com/clientIO/joint

Regards, 





--

---
You received this message because you are subscribed to the Google Groups "JointJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jointjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Vladimir Talas
Client IO

Chen Feng

未讀,
2019年5月13日 凌晨2:59:142019/5/13
收件者:JointJS
Hi Vladimir, 
  I'm a user of Rappid. What's the recommended UI test framework for me? We want to automate the operations of diagram editing part. That is to emulate the dragon a construct into the workbench, make a connection between components and so on. We want to compare the output diagram with a reference image. 
  Is there any example or code we can use as a reference?
  BTW, is here the right place to ask questions about Rappid?
  Thanks in advance!
-Andy 
To unsubscribe from this group and stop receiving emails from it, send an email to joi...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Milan Pandya

未讀,
2022年1月7日 凌晨2:11:142022/1/7
收件者:JointJS
Hi Chen,
I am having the same situation. I would like to perform end-to-end test on JointJS. I should be able to drag components, link components, edit properties of the component in an inspector etc. I am using Cypress. So wondering if it is possible to do so.

Did you have any luck with end-to-end testing?

Regards,

Pavan Kodali

未讀,
2022年5月25日 中午12:03:102022/5/25
收件者:JointJS
Hello guys,

Any work examples or possibilities that we can able to write automation test cases using JointJS. I need to automate  dragging paper elements, link those elements. I am using Cypress as an automation framework. Regardless of which framework we use, I would like to know if this is even possible with any framework ? I don't see any blogs or stackoverflow posts on automation of jointjs so I am not sure if anybody ever done it. Need help here. Thank you. 

Marek Hozák

未讀,
2022年6月7日 上午8:16:152022/6/7
收件者:JointJS
Hi,

Thank you for getting in touch! We've just moved our support to Github, where we answer all questions, exchange ideas for improving JointJS and JointJS+, and share news and updates.

To help us resolve your question, please post your question in the Github discussion. We promise to get back to you asap. 🙂
  1. Select Q&A from the categories
  2. Click on the "New Discussion" button to ask your question
  3. Expect our reply
Thank you for understanding and for being part of our community! 🙂  

Marek from JointJS
回覆所有人
回覆作者
轉寄
0 則新訊息