Skip to content

Commit f892833

Browse files
committed
Update features
1 parent 1d19158 commit f892833

3 files changed

Lines changed: 27 additions & 7 deletions

File tree

.vitepress/theme/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,14 @@ html {
138138
opacity: 0.9;
139139
}
140140

141+
.VPFeature code {
142+
background-color: var(--vp-code-bg);
143+
padding: 2px 6px;
144+
border-radius: 4px;
145+
font-size: 14px;
146+
color: var(--vp-c-brand-1);
147+
}
148+
141149
.vp-doc .vp-code-group,
142150
.vp-doc div[class*="language-"] {
143151
margin: 24px 0 !important;

index.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,23 @@ hero:
2727
link: https://github.com/php-testo/testo
2828

2929
features:
30-
- title: Familiar OOP
31-
details: Tests are classes without TestCase inheritance or functions. Code stays clean.
30+
- title: Clean Code
31+
details: No <code>TestCase</code> inheritance required — or no classes at all.
32+
33+
- title: Proudly PHP
34+
details: Because it is a backend language, not <code>it()</code>.
3235

3336
- title: IDE Integration
3437
details: PhpStorm/IntelliJ IDEA plugin with test running, navigation, debugging, and all the workflow you expect.
3538

39+
- title: "#[Attributes]"
40+
details: Instead of magic conventions. Minimum boilerplate, maximum expressiveness.
41+
3642
- title: Small Core
3743
details: Everything else is middleware and event dispatchers with unlimited customization.
3844

3945
- title: Well-Designed API
40-
details: Separate Assert (now) and Expect (later) facades with pipe assertions for type-safe checks.
46+
details: Separate <code>Assert</code> (now) and <code>Expect</code> (later) facades with pipe assertions for type-safe checks.
4147
---
4248

4349
<script setup>

ru/index.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,23 @@ hero:
2626
link: https://github.com/php-testo/testo
2727

2828
features:
29-
- title: Привычный ООП
30-
details: Тесты — это классы без наследования от TestCase или функции. Код остаётся чистым.
29+
- title: Чистый код
30+
details: Без наследования от <code>TestCase</code> или вообще без классов.
31+
32+
- title: Для бэкенда
33+
details: Забудь JS всяк сюда входящий.
3134

3235
- title: Интеграция с IDE
33-
details: Плагин для PhpStorm/IntelliJ IDEA с запуском, навигацией, отладкой и всем привычным workflow.
36+
details: Плагин для PhpStorm/IntelliJ IDEA с запуском, навигацией, отладкой и привычным workflow.
37+
38+
- title: "#[Атрибуты]"
39+
details: Вместо магических конвенций. Минимум бойлерплейта, максимум выразительности.
3440

3541
- title: Компактное ядро
3642
details: Всё остальное — middleware и диспетчеры событий с безграничной кастомизацией.
3743

3844
- title: Продуманный API
39-
details: Раздельные фасады Assert (сейчас) и Expect (потом) с пайповыми ассертами для типобезопасных проверок.
45+
details: Раздельные фасады <code>Assert</code> (сейчас) и <code>Expect</code> (потом) с пайповыми ассертами для типобезопасных проверок.
4046
---
4147

4248
<script setup>

0 commit comments

Comments
 (0)