Book Image

DART Essentials

Book Image

DART Essentials

Overview of this book

Table of Contents (16 chapters)
Dart Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8. Testing and Profiling the Dart Code

Testing is an essential part of any development process. There are many different approaches and libraries that can be used to test your applications, and we'll take a look at one of them.

In this chapter, we'll talk about:

  • Unit testing in Dart, a very common way to test independent parts of applications that can range from single methods to entire classes

  • Operator overloading and mixins, two more features of Dart

  • A few notes about testing AngularDart apps

  • A short introduction to Observatory, Dart's built-in profiler

In contrast to the previous chapters, we won't run our code in the browser but write console applications instead.