Hi Julien,
I don't know how to do it in maven but if you right-click the file in
IntelliJ and select compile you get the test results ;)
I also don't know about the xml, I had the same question but never asked :)
I added the Greek date tests are in the scala file so you can add them
there too
Cheers,
Dimitris
On Thu, Jun 13, 2013 at 8:21 PM, Julien Cojan <[email protected]> wrote:
> Hi all,
>
> I made some changes on the
> DateTimeParser<https://github.com/dbpedia/extraction-framework/blob/master/core/src/main/scala/org/dbpedia/extraction/dataparser/DateTimeParser.scala>dataparser
> to solve some issues I found on French extraction.
> I tested in on French Wikipedia pages, it seems to work fine, but I want
> to be sure it doesn't worsen extraction in other languages before doing a
> pull request.
> I saw there are some kind of unit tests in
> core/src/test/scala/org/dbpedia/extraction/dataparser/DateTimeParserTest.scala<https://github.com/dbpedia/extraction-framework/blob/master/core/src/test/scala/org/dbpedia/extraction/dataparser/DateTimeParserTest.scala>but
> how can I run them ?
>
> I tried *mvn install -DskipTests=false*, it actually ran some unit tests,
> but not from this class.
> I tried as well *mvn scalatest:test*, but the prefix 'scalatest' is not
> recognised
>
> There is an xml file
> core/src/test/scala/org/dbpedia/extraction/dataparser/DateTimeParserTest.xml<https://github.com/dbpedia/extraction-framework/blob/master/core/src/test/scala/org/dbpedia/extraction/dataparser/DateTimeParserTest.xml>how
> does it combine with the scala class ?
> Should I add the new tests there ?
>
>
> Thanks for any help,
> Julien Cojan
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Dbpedia-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
>
>
--
Kontokostas Dimitris
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Dbpedia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-developers