Example of integration / unit tests framework actions

Post here questions and problems related to oXygen frameworks/document types.
Johann
Posts: 101
Joined: Wed Jun 17, 2015 12:46 pm

Example of integration / unit tests framework actions

Post by Johann » Thu Mar 04, 2021 12:52 pm

Hello everyone,


Is there a suggested way / example to perform integration / unit tests on actions or DocumentFilter implemented in a framework ?

The goal will be for example to have an input XML, call an action defined in the framework, check the output XML with the expected one.

The front end part is not necessary in that case.


Regards,

Johann

Radu
Posts: 7405
Joined: Fri Jul 09, 2004 5:18 pm

Re: Example of integration / unit tests framework actions

Post by Radu » Thu Mar 04, 2021 2:09 pm

Hi Johann,

You can create high level JUnit tests using an Oxygen installation:

https://www.oxygenxml.com/doc/versions/ ... -sdk2.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

cristi_talau
Posts: 324
Joined: Thu Sep 04, 2014 4:22 pm

Re: Example of integration / unit tests framework actions

Post by cristi_talau » Thu Mar 04, 2021 6:09 pm

Hello,

If you want to write unit tests for Web Author customizations you can use the instructions here: https://www.oxygenxml.com/doc/versions/ ... lugin.html .

Best,
Cristian

Post Reply