docs(wpmc S6): README Testing section + mark S6 done in roadmap
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,25 @@
|
|||||||
1. Скачать архив или склонировать в `wp-content/plugins/wp-multi-city/`.
|
1. Скачать архив или склонировать в `wp-content/plugins/wp-multi-city/`.
|
||||||
2. Активировать в админке WP. Если ACF Pro не активен — увидите admin-notice об ошибке зависимости.
|
2. Активировать в админке WP. Если ACF Pro не активен — увидите admin-notice об ошибке зависимости.
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
### Automated (PHPUnit)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
composer install
|
||||||
|
vendor/bin/phpunit
|
||||||
|
```
|
||||||
|
|
||||||
|
Expected: 98 tests, 175 assertions green. Unit-level coverage via Brain Monkey + Mockery + Patchwork — no real WordPress required; the full suite runs in under one second.
|
||||||
|
|
||||||
|
### Manual QA
|
||||||
|
|
||||||
|
For end-to-end verification against a real WordPress installation, see `docs/QA-CHECKLIST.md` — 13 sections covering activation, admin UI, helpers, shortcode, router, page clones, URL filters, REST URL.
|
||||||
|
|
||||||
|
### CI
|
||||||
|
|
||||||
|
`.gitea/workflows/test.yml` runs PHPUnit on every push to `main` and every pull request. The workflow becomes active once the repo is mirrored to Gitea (S7).
|
||||||
|
|
||||||
## Roadmap MVP
|
## Roadmap MVP
|
||||||
|
|
||||||
| Этап | Содержание | Beads | Статус |
|
| Этап | Содержание | Beads | Статус |
|
||||||
@@ -24,7 +43,7 @@
|
|||||||
| S3 | `[shortcode_dmr id=N]` + хелперы (`current_town`, `_alt_get_field`, `remove_domain_link`) | cp-arq | done |
|
| S3 | `[shortcode_dmr id=N]` + хелперы (`current_town`, `_alt_get_field`, `remove_domain_link`) | cp-arq | done |
|
||||||
| S4 | URL-роутер `/{city}/{path}/` + `page_unic` + `main_page_alt` | cp-83m | done |
|
| S4 | URL-роутер `/{city}/{path}/` + `page_unic` + `main_page_alt` | cp-83m | done |
|
||||||
| S5 | Фильтры `the_title`/`the_content`/`the_permalink`/`rest_url` | cp-i17 | done |
|
| S5 | Фильтры `the_title`/`the_content`/`the_permalink`/`rest_url` | cp-i17 | done |
|
||||||
| S6 | PHPUnit-тесты | cp-la7 | open |
|
| S6 | PHPUnit-тесты | cp-la7 | done |
|
||||||
| S7 | Релиз через Gitea + plugin-update-checker | cp-7cf | open |
|
| S7 | Релиз через Gitea + plugin-update-checker | cp-7cf | open |
|
||||||
|
|
||||||
Эпик: `cp-cw4`.
|
Эпик: `cp-cw4`.
|
||||||
|
|||||||
Reference in New Issue
Block a user