diff options
| author | miroslav2 <[email protected]> | 2025-10-10 20:00:45 +0300 |
|---|---|---|
| committer | miroslav2 <[email protected]> | 2025-10-10 20:35:46 +0300 |
| commit | 5cf77d1156cbd68ded4afa6b0255cd6f9971b807 (patch) | |
| tree | ea4d6b6de7461a12e64282f899863655c5e6d0e4 | |
| parent | 68686625b2bb7fc5d0d2d33494901ecfebc7834d (diff) | |
Support JUnit6 in ya make
#### Поддержка JUnit6 в ya make 📝
- 🧪 Добавлена поддержка нового типа модуля `JUNIT6` для корректной работы с тестами JUnit6.
- 🛠 Расширена логика определения тестовых suite’ов — теперь система может различать и обрабатывать JUnit6 тесты отдельно от JUnit5 и обычных JUnit тестов.
- ⚙️ В фильтрах тестов добавлен новый тип `JUNIT6`, что позволяет запускать JUnit6 тесты через существующие механизмы фильтрации.
- 📦 Создан новый класс тестового набора для JUnit6, унаследованный от базового класса Java-тестов.
---
**Оценить качество описания можно [здесь](https://nda.ya.ru/t/_MxIaV0Q7FnCMG**
<a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"><font size="2">Autodescription by Code Assistant</font></a>
commit_hash:b4ff0e418639934531f48ce356c5b9a18d7fb0b4
| -rw-r--r-- | build/plugins/_dart_fields.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/plugins/_dart_fields.py b/build/plugins/_dart_fields.py index 311bf1aeef1..b6dcb05c0f1 100644 --- a/build/plugins/_dart_fields.py +++ b/build/plugins/_dart_fields.py @@ -857,7 +857,12 @@ class ScriptRelPath: @classmethod def junit(cls, unit, flat_args, spec_args): - return 'junit5.test' if unit.get('MODULE_TYPE') == 'JUNIT5' else 'junit.test' + if unit.get('MODULE_TYPE') == 'JUNIT5': + return 'junit5.test' + elif unit.get('MODULE_TYPE') == 'JUNIT6': + return 'junit6.test' + else: + return 'junit.test' class Size: |
