You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2022/10/03 09:39:00 UTC

[jira] [Updated] (CAMEL-18575) Replace temporary dir logic in test code

     [ https://issues.apache.org/jira/browse/CAMEL-18575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Otavio Rodolfo Piske updated CAMEL-18575:
-----------------------------------------
    Description: 
I think [~essobedo] gave this idea sometime in the past, but I did not have time to pursuit it back then. 

Here's the change: there's many places in the test code where we are using temporary directories for the tests. There is code to create, cleanup and whatnot to handle this.

 

However, there is a TempDir extension that is part of JUnit 5 that we can use instead.

  was:
I think [~essobedo] gave this idea sometime in the past, but I did not have time to pursuit back then. 

Here's the change: there's many places in the test code where we are using temporary directories for the tests. There is code to create, cleanup and whatnot to handle this.

 

However, there is a TempDir extension that is part of JUnit 5 that we can use instead.


> Replace temporary dir logic in test code
> ----------------------------------------
>
>                 Key: CAMEL-18575
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18575
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Otavio Rodolfo Piske
>            Priority: Major
>
> I think [~essobedo] gave this idea sometime in the past, but I did not have time to pursuit it back then. 
> Here's the change: there's many places in the test code where we are using temporary directories for the tests. There is code to create, cleanup and whatnot to handle this.
>  
> However, there is a TempDir extension that is part of JUnit 5 that we can use instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)