From the course: Angular: Ecosystems
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Testing and debugging - Angular Tutorial
From the course: Angular: Ecosystems
Testing and debugging
- The Angular framework was built from the ground up to make testing and debugging very easy. The three types of testing you'll do most often are code linting, unit testing, and end-to-end testing. Code linting is the process of checking files for readability, consistency, and syntax. Linters never run your code. They just read over every line of file and check them against a known set of rules about how the code should look. If the code looks the way it's supposed to, the file passes. If the code looks odd, then the file fails, and you'll get a warning about the errors. While you can always lint your code manually, using Angular's official command line tool, code editors like Visual Studio Code and WebStorm have plugins that let you automatically lint code as you write it. This makes it very easy to catch errors before they become an issue. Unit testing is the process of checking small chunks of code to make sure they…
Contents
-
-
-
The command line terminal2m 35s
-
(Locked)
Operating systems and virtual machines3m 26s
-
(Locked)
Zsh on macOS1m 21s
-
(Locked)
Servers and databases2m 13s
-
(Locked)
Version control2m 28s
-
(Locked)
Code editors2m 11s
-
(Locked)
Testing and debugging2m 20s
-
(Locked)
Alternatives to Protractor41s
-
(Locked)
Building and deploying code2m 25s
-
(Locked)
Continuous integration and continuous deployment2m 29s
-
(Locked)
Integrating with GitHub Actions1m 41s
-
(Locked)
Complementary frameworks2m 35s
-
(Locked)
Project management1m 48s
-
-