poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominik Stadler <dominik.stad...@gmx.at>
Subject Re: Help with task: Improve test-coverage of new Microsoft Visio 2007 support code
Date Sun, 29 May 2016 07:31:09 GMT
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.6 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, I just
noticed that http://poi.apache.org/overview.html does not list it correctly
and the sidebar links to http://poi.apache.org/hdgf/index.html, which is
the .vsd-format, not .vsdx, I'll create another task for the documentation
side of Visio/XDGF.


Thanks... Dominik.


On Sat, May 28, 2016 at 10:44 PM, Dion Tucker <diontucker22@gmail.com>
wrote:

> I would like to help out with the task listed at
> https://helpwanted.apache.org/task.html?4d64ce18
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message