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

654 views
Skip to first unread message

Sreenivasulu Valmeti

unread,
May 26, 2016, 1:29:31 AM5/26/16
to 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š

unread,
May 26, 2016, 6:34:37 AM5/26/16
to 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

unread,
May 13, 2019, 2:59:14 AM5/13/19
to 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

unread,
Jan 7, 2022, 2:11:14 AM1/7/22
to 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

unread,
May 25, 2022, 12:03:10 PM5/25/22
to 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

unread,
Jun 7, 2022, 8:16:15 AM6/7/22
to 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
Reply all
Reply to author
Forward
0 new messages