[Предложение: учебник]: Обновить устаревшие примеры Mocha/Chai в статье о тестировании
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- documentation
Research direction
Find the tutorial article «Автоматическое тестирование c использованием фреймворка Mocha» and review its Mocha 3.2.0 and Chai 3.5.0 CDN examples, along with the Karma reference. Update the technical examples and revise the deprecated-tool guidance while preserving the article’s testing and BDD concepts; done means the article no longer presents obsolete versions or Karma as a current recommendation.
Written by the indexing model from the issue text.
Description
Описание
В статье «Автоматическое тестирование c использованием фреймворка Mocha» используются сильно устаревшие версии Mocha (3.2.0) и Chai (3.5.0), а пример их подключения через CDN соответствует старому состоянию экосистемы.
Также в конце статьи упоминается Karma как более высокоуровневый инструмент для запуска тестов, хотя сейчас Karma официально объявлен устаревшим (deprecated).
Предлагаю актуализировать техническую часть статьи: обновить примеры подключения и пересмотреть упоминание Karma. При этом основные идеи статьи о тестировании и BDD можно оставить.
Мотивация
Статья находится в начале учебника и предназначена в том числе для начинающих. Устаревшие версии библиотек и рекомендация deprecated-инструмента могут создать впечатление, что именно так тестирование JavaScript обычно настраивается сегодня.
Обновление позволит сохранить полезное объяснение принципов тестирования, но сделать технические примеры актуальными.
Готовы ли вы принять участие в реализации данного предложения?
Да, я готов(а) принять участие.
- Dominant language
- HTML
- Stars
- 4.1k
- Forks
- 922
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from javascript-tutorial/ru.javascript.info
-
suggestion: tutorial
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
javascript-tutorial/ru.javascript.info#2187 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
javascript-tutorial/ru.javascript.info#2163 · 1 comment ·
-
[Баг]: Openbug
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
suggestion: tutorial
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in javascript-tutorial/ru.javascript.info
Similar issues
-
area:dictation documentation P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
uttrflow/uttrflow-swift#1180 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
falcosecurity/falco-website#1601 ·
-
specification
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
WICG/webmonetization#729 ·