Preparing the Build Folder & Testing

Gulp.js 3.9    |    Intermediate
  • 10 videos | 51m 50s
  • Earns a Badge
Rating 4.6 of 7 users Rating 4.6 of 7 users (7)
Before deploying your web project, you need to get your build folder ready. Discover how to use Gulp.js to perform this task, and how to perform unit, integration, and code coverage testing of your web project with Gulp.js.

WHAT YOU WILL LEARN

  • Use the npm package manager to install the gulp-task-listing package and create a listing of the tasks in your project
    Create a build folder and a gulp task to copy the fonts to the dist/build folder
    Install the gulp-imagemin package to compress images and create a gulp task to copy the compressed images to the dist/build folder
    Create tasks to clean the subfolders of the dist/build folder
    Use the npm package manager to install mocha and chai and describe how gulp can use them to perform unit testing on your code
  • Work with mocha to run unit tests using the command line test runner
    Work with the mocha to run unit tests inside the browser
    Use istanbul with mocha to test code coverage in your projects
    Use the request package to perform server integration testing
    Identify what is needed to prepare your html code, build and run tasks, create the build folder and perform testing on your projects

IN THIS COURSE

  • 3m 9s
    Learn how to use the npm package manager to install the gulp-task-listing package and create a listing of the tasks in your project. FREE ACCESS
  • 3m 46s
    In this video, learn how to create a build folder and a Gulp task to copy fonts to the dist/build folder. FREE ACCESS
  • Locked
    3.  Compressing and Copying Images
    3m 6s
    In this video, you will learn how to install the gulp-imagemin package to compress images and create a Gulp task to copy the compressed images to the dist/build folder. FREE ACCESS
  • Locked
    4.  Cleaning the Build Folder
    6m 22s
    In this video, learn how to create tasks to clean the subfolders of the dist/build folder. FREE ACCESS
  • Locked
    5.  Installing the mocha testing library Plugin
    7m 42s
    In this video, you will use the npm package manager to install mocha and chai. You will also describe how gulp can use them to perform unit testing on your code. FREE ACCESS
  • Locked
    6.  Working with mocha
    6m 35s
    In this video, find out how to work with mocha to run unit tests using the command line. FREE ACCESS
  • Locked
    7.  Testing in the Browser
    8m 23s
    Learn how to work with mocha to run unit tests inside the browser. FREE ACCESS
  • Locked
    8.  Testing Code Coverage
    4m 30s
    Learn how to use Istanbul with Mocha to test code coverage in your projects. FREE ACCESS
  • Locked
    9.  Performing Server Integration Testing
    5m 2s
    In this video, you will use the request package to perform integration testing on a server. FREE ACCESS
  • Locked
    10.  Exercise: Prepare, Build and Test Projects with Gulp
    3m 15s
    Find out how to identify what is needed to prepare your HTML code, build and run tasks, create the build folder, and perform testing on your projects. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 76 users Rating 4.5 of 76 users (76)
Rating 4.5 of 97 users Rating 4.5 of 97 users (97)
Rating 4.1 of 44 users Rating 4.1 of 44 users (44)