Improve test-coverage of new Microsoft Visio 2007+ support code

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

Improve test-coverage of new Microsoft Visio 2007+ support code

leebanga lee
I am interested in helping . How do I go further ?
Reply | Threaded
Open this post in threaded view
|

Re: Improve test-coverage of new Microsoft Visio 2007+ support code

Dominik Stadler
Hi,

thanks a lot for your offer!

For this task you can start by checking out the sourcecode,
either via SVN at https://svn.apache.org/repos/asf/poi/trunk/
or via GIT from the github mirror at https://github.com/apache/poi/

The build-dependencies in this case should only be
JDK >= 1.8 and Apache Ant >= 1.8, newer versions should
work as well.

When you ran a build via "ant compile-all", the necessary
third-party-libs should be downloaded and you can then use
Eclipse or IntelliJ to load the project and start working
on things.

For Visio classes look at all the classes named XDGF...,
you probably need to look a bit at how the code is structured.
Tests for these classes should go into the src/ooxml/testcases
folder and naming is usually TestXSDGF... We use JUnit 4
with @Test annotations for newly created tests.

Finally you can check coverage of newly created tests either
in the IDE or by running "ant -Dcoverage.enabled=true test-ooxml
testcoveragereport" which will produce a coverage report under
build/coverage/index.html

I suggest you take a first look around, ask questions for
anything you stumble into and start work on a simple test. When
you have a first one we can take a look at it. If you use Git
then a fork on Github will work well or simply as files or
patches via email.

See http://poi.apache.org/subversion.html and
http://poi.apache.org/howtobuild.html for some more information
about the code and building it.

Unfortunately the documentation about XDGF is also lacking a
bit...

Thanks... Dominik.

On Fri, Jan 19, 2018 at 9:26 PM, leebanga lee <[hidden email]> wrote:

> I am interested in helping . How do I go further ?
>