Book Image

Learning Yeoman

By : Jonathan Spratley
Book Image

Learning Yeoman

By: Jonathan Spratley

Overview of this book

Table of Contents (17 chapters)
Learning Yeoman
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Modern Workflows for Modern Webapps
Index

Chapter 9. Yeoman Tips and Tricks

In this chapter, we will cover some useful tips and tricks that one might need when using Yeoman and some of the generators. We will improve the existing projects that we created earlier by adding code coverage to our projects, as well as creating a RESTful Node server that will communicate to a MongoDB database using the module we created in the previous chapter.

While this is not an extensive list of tips and tricks, it does consist of some very detailed steps that will help with adding functionality to any project—not just the ones covered in this chapter.

Some common issues that developers run into while using the different Yeoman generators are as follows:

  • Accessing server-side resources because of cross-domain scripting issues

  • Configuring, running, and creating e2e (end-to-end) UI tests

  • Configuring and generating code coverage reports from unit tests

In the sections to come, we will tackle these problems and come up with usable solutions that will make developing...