Orbeon XBL Unit Tests

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Orbeon XBL Unit Tests

Joel Oates
Hello All,

So currently we have a large range of XBL components and forms for a
workflow product which has no test coverage, I was looking into Unit tests
for Orbeon and all I could find was the old post  here
<https://stackoverflow.com/questions/5991123/is-there-unit-test-framework-in-orbeon>  
Which the links no longer work.

I need to implement unit tests for a range of XBL components and forms what
would the best too to try and implement such tests? and how much coverage am
I able to get?

Thanks,
Joel.

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1607649526404-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon XBL Unit Tests

Alessandro  Vernet
Administrator
Hi Joel,

To test client-side code, these days, I would try to give a go to Puppeteer
(see 1st link below), either directly or through something like
jest-puppeteer (see 2nd link below). Does this look like the type of
solution that would work for the testing you want to do on your XBL
components?

https://pptr.dev
https://github.com/smooth-code/jest-puppeteer

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1607671963964-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon XBL Unit Tests

Alessandro  Vernet
Administrator
Hi Joel, just curious: did you already get a chance to look into using
Puppeteer? Or, maybe you were looking for something different?

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1608254756138-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet