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.