TestsExplorer showed duplicating "tmp_" directories

I would report a silly bug of the TestsExplorer of Katalon Studio GUI. Too silly to report, but I should …

Using Katalon Studio Arm64 v9.0.0, MacBook Air M1, macOS 12.7.1

  1. I created a new Katalon Studio project
  2. I created a new Test Case named TC1 as follows:
import java.nio.file.Path
import java.nio.file.Paths
import java.nio.file.Files

Path tmp = Paths.get("tmp")
Path f = tmp.resolve("hello.txt")
f.text = "Hello, world!\n"

3. I ran the TC1
4. In the TestsExplorer, I did right click to choose Refresh
5. The directory named tmp was displayed in the TestsExplorer

6. I manually renamed the tmp directory to tmp_.

… up to this point, everything is fine, no problem, but …
7. I executed the test case TC1 again, refleshed the TestsExplorer. I got a strange display:

TestsExplorer showed one more directory named tmp_. I saw dual instances of “tmp_” directories, which is just wrong. I was surprised.

I checked the project directory in the Terminal:

$ cd BuggyTestsExplorer
$ tree -L 1
├── BuggyTestsExplorer.prj
├── Checkpoints
├── Data Files
├── Drivers
├── Include
├── Keywords
├── Libs
├── Object Repository
├── Plugins
├── Profiles
├── Reports
├── Scripts
├── Test Cases
├── Test Listeners
├── Test Suites
├── bin
├── build.gradle
├── console.properties
├── settings
├── tmp
└── tmp_

19 directories, 3 files

The Terminal showed the directories tmp and tmp_ in the project directory. No surprise.

I think, the TestsExplorer is NOT trustworthy.

Here I attach the project zipped.
BuggyTestsExplorer.zip (30.8 KB)

1 Like

This incident reminds me of a bug:

I still have a doubt that this problem is not yet really fixed. Anything could happen in the buggy TestsExplorer.