You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Siegfried Goeschl (Jira)" <ji...@apache.org> on 2021/01/26 20:49:00 UTC

[jira] [Comment Edited] (FREEMARKER-156) [freemarker-generator] The Maven plugin unit tests failed randomly

    [ https://issues.apache.org/jira/browse/FREEMARKER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17272410#comment-17272410 ] 

Siegfried Goeschl edited comment on FREEMARKER-156 at 1/26/21, 8:48 PM:
------------------------------------------------------------------------

A painful exercise

* Migrated to Mockito which is quite limited compared to JMockit
* Removed some test which checked only for exception being thrown (relying on JMockit)
* Ditched TestNG and use plain old Unit instead
* Kept "assertj" 
* Still have one test printing an exception



was (Author: sgoeschl):
A painful exercise

* Migrated to Mockito which is quite limited compared to JMockit
* Ditched TestNG and use plain old Unit instead
* Kept "assertj" 



> [freemarker-generator] The Maven plugin unit tests failed randomly
> ------------------------------------------------------------------
>
>                 Key: FREEMARKER-156
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-156
>             Project: Apache Freemarker
>          Issue Type: Task
>            Reporter: Siegfried Goeschl
>            Assignee: Siegfried Goeschl
>            Priority: Major
>
> * For unknown reasons the unit test fail since the mocked execution misses an invocation of "File#canExecute".
> * In addition the tests dump ugly stack traces :(



--
This message was sent by Atlassian Jira
(v8.3.4#803005)