jferard / fastods

A very fast and lightweight (no dependency) library for creating ODS (Open Document Spreadsheet, mainly for Calc) files in Java. It's a Martin Schulz's SimpleODS fork
GNU General Public License v3.0
36 stars 6 forks source link

Gather non unit tests in a misc folder #20

Closed jferard closed 7 years ago

jferard commented 7 years ago

There are four fake tests:

jferard commented 7 years ago

There is an issue when copying all files in src/bench (the name of the dir doesn't matter), because Benchmark.java won't compile without external jars and there is no reason for other files to depend on thoses jars.

Here is a possible structure:

src/misc/bench/com/github/jferard/fastods/Benchmark.java
src/misc/other/com/github/jferard/fastods/...

With the following POM entries:

<profile>
    <id>bench</id>
    <properties>
        <fastods.testSourceDirectory>src/misc/bench</fastods.testSourceDirectory>
    </properties>
</profile>
<profile>
    <id>other</id>
    <properties>
        <fastods.testSourceDirectory>src/misc/other</fastods.testSourceDirectory>
    </properties>
</profile>

The README and the wiki contains some examples that have to be fixed.