Yeoman Stack: Working with NPM and Adopting Testing Strategies


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Discover how to use NPM for package management, and working with Yeoman files to perform various file operations. During thos course, you will learn how to set up an NPM project, write and publish NPM modules, and use generator-nodejs to build applications for Yeoman. Next you will explore JS testing frameworks and their testing capabilities, before moving on to use Mocha to generate test cases and execute tests. Then you will study how the Yeoman app and its utilities work with files, before exploring ways to share user context among generators. Finally, as a review exercise, you will create an NPM package, and install generator-nodejs, along with generator-mocha.

Expected Duration (hours)
0.9

Lesson Objectives

Yeoman Stack: Working with NPM and Adopting Testing Strategies

  • identify how to set up projects for NPM to illustrate the capabilities of NPM
  • write and publish NPM modules with useful codes
  • use generator-nodejs to build applications for Yeoman
  • identify the popular JS testing frameworks and their testing capabilities
  • describe how to share user context and information among generators
  • generate test cases and execute tests using Mocha
  • specify the file manipulation capabilities of Yeoman file
  • use Yeoman file operations to effectively manage file resources
  • describe how to share user context and information among generators
  • create an NPM package, install generator-nodejs and generator-mocha
  • Course Number:
    it_sdwady_04_enus

    Expertise Level
    Intermediate