Skip to content

Commit 973ffce

Browse files
committed
Change documentation files structure
1 parent 02ad328 commit 973ffce

26 files changed

Lines changed: 41 additions & 41 deletions

.vitepress/config.mts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,18 @@ gtag('config', 'G-VYGDN3X0PR');`],
8080
text: 'Writing Tests',
8181
link: '/docs/writing-tests',
8282
items: [
83-
{ text: 'Test Attribute', link: '/docs/test-attribute' },
84-
{ text: 'Naming Conventions', link: '/docs/naming-conventions' },
85-
{ text: 'Inline Tests', link: '/docs/inline-tests' },
86-
{ text: 'Data Providers', link: '/docs/data-providers' },
87-
{ text: 'Lifecycle', link: '/docs/lifecycle' },
83+
{ text: 'Test Attribute', link: '/docs/plugins/test' },
84+
{ text: 'Naming Conventions', link: '/docs/plugins/convention' },
85+
{ text: 'Inline Tests', link: '/docs/plugins/inline' },
86+
{ text: 'Data Providers', link: '/docs/plugins/data' },
87+
{ text: 'Lifecycle', link: '/docs/plugins/lifecycle' },
8888
],
8989
},
9090
{
9191
text: 'Guide',
9292
items: [
9393
{ text: 'CLI Reference', link: '/docs/cli-reference' },
94-
{ text: 'Filtering', link: '/docs/filtering' },
94+
{ text: 'Filtering', link: '/docs/plugins/filter' },
9595
],
9696
},
9797
{
@@ -134,18 +134,18 @@ gtag('config', 'G-VYGDN3X0PR');`],
134134
text: 'Пишем тесты',
135135
link: '/ru/docs/writing-tests',
136136
items: [
137-
{ text: 'Атрибут Test', link: '/ru/docs/test-attribute' },
138-
{ text: 'Конвенции именования', link: '/ru/docs/naming-conventions' },
139-
{ text: 'Встроенные тесты', link: '/ru/docs/inline-tests' },
140-
{ text: 'Провайдеры данных', link: '/ru/docs/data-providers' },
141-
{ text: 'Жизненный цикл', link: '/ru/docs/lifecycle' },
137+
{ text: 'Атрибут Test', link: '/ru/docs/plugins/test' },
138+
{ text: 'Конвенции именования', link: '/ru/docs/plugins/convention' },
139+
{ text: 'Встроенные тесты', link: '/ru/docs/plugins/inline' },
140+
{ text: 'Провайдеры данных', link: '/ru/docs/plugins/data' },
141+
{ text: 'Жизненный цикл', link: '/ru/docs/plugins/lifecycle' },
142142
],
143143
},
144144
{
145145
text: 'Руководство',
146146
items: [
147147
{ text: 'CLI справка', link: '/ru/docs/cli-reference' },
148-
{ text: 'Фильтрация', link: '/ru/docs/filtering' },
148+
{ text: 'Фильтрация', link: '/ru/docs/plugins/filter' },
149149
],
150150
},
151151
{

blog/collider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ but I want to draw your attention to how quick it is to benchmark something now!
139139

140140
![Shock](/blog/collider/img-04.png)
141141

142-
Benchmarking right in your code without extra boilerplate. Like [inline tests](/docs/inline-tests.md), but for benchmarks.
142+
Benchmarking right in your code without extra boilerplate. Like [inline tests](/docs/plugins/inline.md), but for benchmarks.
143143

144144
[Dragon Code](https://github.com/TheDragonCode/benchmark) once showed that benchmarks can be simple and convenient: instead of tons of boilerplate, just call a single class and pass closures for comparison.
145145
Testo takes this to the next level: from intent to result in just one attribute.

docs/cli-reference.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Testo provides three types of filters that can be combined to selectively run te
7373
- Different type filters use AND logic: `--filter=test1 --suite=Unit` → test1 AND Unit
7474
- Formula: `AND(OR(filters), OR(paths), OR(suites), type)`
7575

76-
For detailed information about filtering behavior, see [Filtering](/docs/filtering).
76+
For detailed information about filtering behavior, see [Filtering](plugins/filter.md).
7777

7878
#### `--suite`
7979

@@ -148,16 +148,16 @@ testo run --filter=testAuthentication --suite=Unit
148148
testo run --filter=UserTest --path="tests/Unit"
149149
```
150150

151-
**Filter Behavior:** See [Filtering](/docs/filtering) for details.
151+
**Filter Behavior:** See [Filtering](plugins/filter.md) for details.
152152

153153
#### `--type`
154154

155155
Filter tests by type. If specified, only tests of the matching type are run.
156156

157157
**Possible values:**
158158
- `test` — regular tests (methods in classes)
159-
- `inline`[inline tests](/docs/inline-tests) (tests via `#[TestInline]`)
160-
- `bench` — benchmarks
159+
- `inline`[inline tests](plugins/inline.md) (tests via `#[TestInline]`)
160+
- `bench`[benchmarks](plugins/bench.md)
161161

162162
**Examples:**
163163
```bash

docs/configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ Testo is built on [plugins](plugins.md) — they define how tests are discovered
8989
If the `plugins` array is not specified, Testo uses the default plugin set.
9090

9191
::: question Which application plugins are enabled by default?
92-
- [FilterPlugin](filtering.md)
92+
- [FilterPlugin](plugins/filter.md)
9393
- TerminalPlugin
9494
- TeamcityPlugin
9595
:::
9696

9797
::: question Which Test Suite plugins are enabled by default?
98-
- [LifecyclePlugin](lifecycle.md)
99-
- [InlineTestPlugin](inline-tests.md)
100-
- [BenchmarkPlugin](benchmarks.md)
98+
- [LifecyclePlugin](plugins/lifecycle.md)
99+
- [InlineTestPlugin](plugins/inline.md)
100+
- [BenchmarkPlugin](plugins/bench.md)
101101
:::
102102

103103
### Managing Plugins

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ return new ApplicationConfig(
5757
);
5858
```
5959

60-
In this example we defined two test suites: `Unit` for unit tests located in `tests/Unit`, and `Sources` for [inline tests](inline-tests.md) and [benchmarks](benchmarks.md) right in the project source code, in the `src` folder.
60+
In this example we defined two test suites: `Unit` for unit tests located in `tests/Unit`, and `Sources` for [inline tests](plugins/inline.md) and [benchmarks](plugins/bench.md) right in the project source code, in the `src` folder.
6161

6262
To learn more about configuration, visit the [Configuration](configuration.md) section.
6363

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Inline tests work well for:
2525
- **Private helper methods** that you want to test without changing visibility
2626
- **Prototyping** when you need immediate validation without switching context
2727

28-
For larger test suites (10+ cases) or tests that need explanation, consider writing separate tests with [DataProvider](./data-providers).
28+
For larger test suites (10+ cases) or tests that need explanation, consider writing separate tests with [DataProvider](./plugins/data.md).
2929

3030
## Configuration
3131

0 commit comments

Comments
 (0)