Setup QTAF in VSCode⚓︎
Before you read this article you should be familiar with the QTAF framework. You can read this article if you want to understand the Java code which is shown here.
Front-end developers mostly use VSCode IDE for developing front-end applications, so it is of great importance that they can also start back-end projects with VSCode.
To test the QTAF implementation under VSCode, Java 17 should first be installed on the system, there are several tutorials on this. The following instructions show how to install Java 17 on different operating systems:
Now check if the installation was sucecssful with the following command:
Now open VSCode and install the extension "Extension Pack for Java".
Furthermore you need to install the extension "Maven for Java".
After installing the necessary extensions, a view "JAVA PROJECTS" with the project structure is activated under Explorer.
To run tests, the Java Pack Extension adds the button "Run/Debug" next to the test classes, as in classic Java IDEs (Eclips or Intellij).