本文是中英对照毕业设计论文外文文献翻译,下载后直接可用!省去您找文献、pdf整理成word以及翻译的时间,一辈子也就一次的事!

文献引用作者出处信息:Edd Yerburgh Testing Vue. Js Applications,2019 (如年份太老,可改为近2年,很多毕业生都这样做,毕竟外文翻译要求也不高)

英文4442单词,24510字符(字符就是印刷符),中文7338汉字。(如果字数多了,可自行删减,大多数学校都是要求选取外文的一部分内容进行翻译的。)

Introduction to testing Vue applications

This chapter covers

What testing is

Why testing is useful

The difference between unit tests, end-to-end tests, and snapshot tests

Core Vue concepts

As a developer, you want to ship bug-free code. Nothing is worse than finding out on Monday morning that your Friday changes broke the live application! The only way you can make sure your application works correctly is by testing it, so it’s vital that you learn how to test applications thoroughly.

A good testing approach speeds up development, improves code quality, and limits the bugs in your app. A poor testing approach cripples a project. This book will teach you to test Vue applications effectively to make sure you get the benefits of testing and avoid the pitfalls. By the end of the book you will have become a Vue testing master, ready to test any Vue application you encounter.

To learn the techniques to test a Vue application, you’re going to write a test suite for a Hacker News clone from start to finish. The Hacker News application will use Vue, Vuex, Vue Router, and server-side rendering— just like most large Vue applications.

As well as teaching you the techniques, I want to teach you the mindset and approach to testing that I’ve developed over the years. Throughout the book I’ll give you advice to hone your testing skills.

This first chapter is a primer on testing Vue applications. I’ll give you a high-level overview of testing in general, the different types of tests you’ll learn in this book, and the Hacker News app you’ll write. Finally, I’ll explain some core Vue concepts, to make sure we’re speaking with the same vocabulary.

The first thing to do is to define testing.

1.1. DEFINING TESTING

Any academic paper worth its salt defi

Logo

DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。

更多推荐