OpenLiberty / liberty-tools-intellij

IntelliJ IDEA extension for Liberty
https://plugins.jetbrains.com/plugin/14856-open-liberty-tools
Eclipse Public License 2.0
11 stars 20 forks source link

Add an automated test case that uses a project that is not in the root of the workspace #817

Open turkeylurkey opened 3 weeks ago

turkeylurkey commented 3 weeks ago

Issue #797 showed that the behaviour of the Liberty Start action may be incorrect when the application project directory (which contains the build file) is not the root of the workspace. An example is when a workspace contains multiple application projects.

The scenario to be tested is when IntelliJ opens a directory named 'parentDir' and parentDir contains a directory named 'application' where application contains a file named 'pom.xml' or 'build.gradle'. It is also important the application project is a Liberty project e.g. contains src/main/liberty/config/server.xml

The test case must use each Liberty action e.g. Liberty Start, Liberty Stop, Liberty Run Tests etc.