From d26dd2c6aef211c3dff9116d6d266b28f42a4745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Wed, 31 Jan 2024 13:37:21 +0100 Subject: [PATCH] tests_prerequisites.md: rework trees using PlantUML --- .../tests_prerequisites.md | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/topics/tutorials/writing_tests_for_plugins/tests_prerequisites.md b/topics/tutorials/writing_tests_for_plugins/tests_prerequisites.md index a531ff7b2..c94fd49ae 100644 --- a/topics/tutorials/writing_tests_for_plugins/tests_prerequisites.md +++ b/topics/tutorials/writing_tests_for_plugins/tests_prerequisites.md @@ -1,7 +1,7 @@ - - # 1. Tests Prerequisites + + Setting up the test folders structure and mocking the project's SDK. @@ -17,14 +17,24 @@ This page discusses the steps to configure a plugin project for creating tests. Open the plugin project and create a separate folder named test under the src directory. Under test, create the java folder for test source code, and the folder testData for [test data files](test_project_and_testdata_directories.md) and reimport the Gradle project. -```text -└── src - ├── main - │ ├── java - │ └── resources - └── test - ├── java - └── testData +```plantuml +@startuml + +skinparam TitleFontName JetBrains Sans +skinparam TitleFontStyle plain +skinparam TitleFontSize 16 +skinparam DefaultTextAlignment left + +title + src + |_ main + |_ java + |_ resources + |_ test + |_ java + |_ testData +end title +@enduml ``` ## Set the Run Configuration Parameters