mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +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
|
||||
|
||||
<!-- 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>
|
||||
|
||||
<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.
|
||||
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
|
||||
└── 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user