constellation icon indicating copy to clipboard operation
constellation copied to clipboard

Unit Test creates a new CSV file in the user directory

Open Delphinus8821 opened this issue 5 months ago • 0 comments

Prerequisites

  • [x] Put an X between the brackets on this line if you have done all of the following:

    • Running the latest version of Constellation

    • Attached the Support Package via Help > Support Package

    • Checked the FAQs: https://github.com/constellation-app/constellation/wiki/FAQ

    • Checked that your issue isn’t already filed: https://github.com/constellation-app/constellation/issues

    • Checked that there is not already a module that provides the described functionality: https://github.com/constellation-app/constellation/wiki/Catalogue-of-Repositories

Description

Every time the unit test class SaveResultsFileWriterNGTest in CoreUtilities is run it creates a CSV file in your user directory.

image

Steps to Reproduce

  1. Run the unit test class SaveResultsFileWriterNGTest in CoreUtilities

  2. Observe a new CSV file is created in the user directory

Expected behaviour: File is created and then deleted once the test is finished

Actual behaviour: File is created and never deleted

Reproduces how often: 100%

Delphinus8821 avatar Feb 05 '24 23:02 Delphinus8821