divinenickname / utgen-kotlin-idea-plugin

Simplify your testing process with automated test generation tailored for Kotlin codebases.
https://plugins.jetbrains.com/plugin/23907-utgen
Apache License 2.0
3 stars 1 forks source link

Incorrect package name #1

Closed ENRyzhkova closed 3 months ago

ENRyzhkova commented 3 months ago

Hello!

When I'm generating test class your plugin generates incorrect package. In test class package is correct but in IDE package isn't.

Source code:

package org.pkg

class MyAwesome {
    fun yoyo(): Int {
        return 4
    }
}

Actual package: package org.pkg.MyAwesome.kt.org.pkg Expected package: package org.pkg

Version 1.1.0

divinenickname commented 3 months ago

Thanks for issue, this bug was fixed in release 1.2.3