From the course: Node.js: Testing and Code Quality
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Creating and enforcing coding standards
From the course: Node.js: Testing and Code Quality
Creating and enforcing coding standards
- [Instructor] Now that we know what a coding standard is, let's go through the steps for creating and enforcing one. The process for creating a coding standard is iterative, much like specifying software. First, determine what coding conventions are available that fit your project or organization. Out of what's available, decide what has the most positive impact on the quality of your code base and morale. Some rules help developers while others may annoy and may be needlessly strict. Experiment with what's out there to find what works and what doesn't. When you've made a choice, briefly document the justification of why you've chosen to use or not use a particular rule. Less is more, so try for a maximum of one sentence. Once the rules have been defined, create the configurations for any software you're using. We're going to be discussing how to do this later on in the course. Finally, revisit the rules on a regular…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
What is code quality?6m 57s
-
(Locked)
Coding conventions and standards6m 38s
-
(Locked)
Creating and enforcing coding standards7m 27s
-
(Locked)
Unit, integration, and functional testing10m 30s
-
(Locked)
Testing frameworks5m 53s
-
(Locked)
TDD and BDD test specifications5m 12s
-
(Locked)
Assertions for correctness4m 32s
-
(Locked)
Challenge: Organize your tests58s
-
(Locked)
Solution: Organize your tests1m 46s
-
-
-
-
-
-