Skip to content

Framework tests fail because of KOTLIN_HOME absence #65

@denis-fokin

Description

@denis-fokin

Description

Sometimes new users cannot run framework tests successfully (see the visual proof section). It happens because of absence of KOTLIN_HOME variable. We rely on this variable in our code in order to check that generated tests are compilable.

To Reproduce

In order to reproduce the problem, clear the KOTLIN_HOME variable value or remove the environment variable.

Expected behavior

Print a message in the test output and signal the user that the KOTLIN_HOME variable must be specified.

Actual behavior

An exception message from the ProcessBuilder class

Visual proofs (screenshots, logs, images)

framwork

Environment

Run org.utbot.examples.algorithms.SortTest

Additional context

No additional context.

Metadata

Metadata

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions