mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 09:17:50 +08:00
tests_prerequisites.md: rework trees using PlantUML
This commit is contained in:
parent
a76a87d456
commit
d26dd2c6ae
@ -1,7 +1,7 @@
|
|||||||
<!-- Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
|
||||||
|
|
||||||
# 1. Tests Prerequisites
|
# 1. Tests Prerequisites
|
||||||
|
|
||||||
|
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||||
|
|
||||||
<link-summary>Setting up the test folders structure and mocking the project's SDK.</link-summary>
|
<link-summary>Setting up the test folders structure and mocking the project's SDK.</link-summary>
|
||||||
|
|
||||||
<snippet id="custom_language_testing_tutorial_header">
|
<snippet id="custom_language_testing_tutorial_header">
|
||||||
@ -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 <path>test</path> under the <path>src</path> directory.
|
Open the plugin project and create a separate folder named <path>test</path> under the <path>src</path> directory.
|
||||||
Under <path>test</path>, create the <path>java</path> folder for test source code, and the folder <path>testData</path> for [test data files](test_project_and_testdata_directories.md) and reimport the Gradle project.
|
Under <path>test</path>, create the <path>java</path> folder for test source code, and the folder <path>testData</path> for [test data files](test_project_and_testdata_directories.md) and reimport the Gradle project.
|
||||||
|
|
||||||
```text
|
```plantuml
|
||||||
└── src
|
@startuml
|
||||||
├── main
|
|
||||||
│ ├── java
|
skinparam TitleFontName JetBrains Sans
|
||||||
│ └── resources
|
skinparam TitleFontStyle plain
|
||||||
└── test
|
skinparam TitleFontSize 16
|
||||||
├── java
|
skinparam DefaultTextAlignment left
|
||||||
└── testData
|
|
||||||
|
title
|
||||||
|
src
|
||||||
|
|_ main
|
||||||
|
|_ java
|
||||||
|
|_ resources
|
||||||
|
|_ test
|
||||||
|
|_ java
|
||||||
|
|_ testData
|
||||||
|
end title
|
||||||
|
@enduml
|
||||||
```
|
```
|
||||||
|
|
||||||
## Set the Run Configuration Parameters
|
## Set the Run Configuration Parameters
|
||||||
|
Loading…
x
Reference in New Issue
Block a user