Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Testing real Vue apps
Search
Sobolev Nikita
September 15, 2018
Programming
0
56
Testing real Vue apps
Sobolev Nikita
September 15, 2018
Tweet
Share
More Decks by Sobolev Nikita
See All by Sobolev Nikita
Михаил Гурбанов – Are you NATS? @ PythoNN
sobolevn
0
51
Дмитрий Бровкин – Почему исправление опечаток сложнее, чем кажется, и как мы с этим српавляемся @ PythoNN
sobolevn
0
32
Алексей Гончарук – Современный веб с темлейтами @ PythoNN
sobolevn
0
100
Алексей Голобурдин – Демистификация PostgreSQL-индексов @ PythoNN
sobolevn
0
130
PythoNN – Александр Гончаров
sobolevn
0
64
PythoNN – Андрей Пронин
sobolevn
0
120
PythoNN: Василий Рябов – "Парсинг бинарных данных с помощью ctypes, или пишем на питоне как на Си"
sobolevn
0
240
GitHub Planet - OpenSource
sobolevn
0
270
Polymorphism and Typeclasses
sobolevn
2
160
Other Decks in Programming
See All in Programming
エンジニア向け採用ピッチ資料
inusan
0
160
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
580
GraphRAGの仕組みまるわかり
tosuri13
8
480
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
330
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
190
関数型まつりレポート for JuliaTokai #22
antimon2
0
150
設計やレビューに悩んでいるPHPerに贈る、クリーンなオブジェクト設計の指針たち
panda_program
6
1.4k
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
400
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
5
1.3k
なんとなくわかった気になるブロックテーマ入門/contents.nagoya 2025 6.28
chiilog
1
210
生成AIで日々のエラー調査を進めたい
yuyaabo
0
650
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
890
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
94
14k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Why You Should Never Use an ORM
jnunemaker
PRO
57
9.4k
The Cult of Friendly URLs
andyhume
79
6.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
790
Visualization
eitanlees
146
16k
Documentation Writing (for coders)
carmenintech
72
4.9k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
490
Docker and Python
trallard
44
3.4k
Transcript
Никита Соболев Enterprise-Ready шаблон для Vue
Talk is cheap, show me the code! bit.ly/wemake-vue 2
Поговорим про бизнес wemake.services/meta 3
С чего начитается любой проект? 4
Nuxt Gitlab CI Flow Docker Jest Jest eslint remark Vue
Vuex Vue-Router Babel TestCafe stylelint JSDom 5
Все начинается с документации! bit.ly/wemake-vue-docs 6
None
Мы любим разработчиков • Актуальные зависимости, via @dependabot • Поддержка
VSCode прям сразу • Конфигурация проста как огурец • Чтобы заработало: одна или две команды 8
Простые решения Vue + Nuxt Vue \w SSR + Webpack
9
Находим ошибки рано • Actions • Mutations • API calls
10
None
Я все-таки не понял. Почему не TypeScript? flow ~ TypeScript
12
Но есть некоторые проблемы • Не аннотируется this • Нельзя
расширить существующие дефиниции • https://github.com/sobolevn/vue-flow-typed 13
Продолжаем находить ошибки рано @vue/test-utils + jest 14
О вкусах не спорят • eslint-config-wemake • eslint-plugin-vue • eslint-plugin-jsdoc
• eslint-plugin-json • eslint-plugin-jest • eslint-plugin-security • eslint-plugin-flowtype • eslint-plugin-unicorn • stylelint • stylelint-scss • stylelint-cssmodules • remark 15
У нас блокирующие Pull Requests 16
None
Все по-прежнему должно работать • TestCafe инициирует e2e тесты с
настоящими браузерами • Запускается в ручном режиме при PR • Выполняется долго 18
Деплой • Можно статикой • Можно при помощи `yarn start`
• Можно Docker 19
А что с backend? • Django с похожими принципами: bit.ly/wms-django
• Koa / Express / etc • Elixir! 20
Развитие • Nuxt2 + Babel7 + Webpack4 • VSCode +
Debugger • PWA 21
Мы предлагаем бесплатную поддержку
[email protected]
22
Вопросы? github.com/sobolevn Никита Соболев bit.ly/wemake-vue