Preparing the Build Folder & Testing

Gulp.js 3.9    |    Intermediate
  • 10 Videos | 53m 50s
  • Earns a Badge
Likes 4 Likes 4
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

  • Playable
    1. 
    Creating a List of Tasks
    3m 9s
    UP NEXT
  • Playable
    2. 
    Copying Fonts to the Build Folder
    3m 46s
  • Locked
    3. 
    Compressing and Copying Images
    3m 6s
  • Locked
    4. 
    Cleaning the Build Folder
    6m 22s
  • Locked
    5. 
    Installing the mocha testing library Plugin
    7m 42s
  • Locked
    6. 
    Working with mocha
    6m 35s
  • Locked
    7. 
    Testing in the Browser
    8m 23s
  • Locked
    8. 
    Testing Code Coverage
    4m 30s
  • Locked
    9. 
    Performing Server Integration Testing
    5m 2s
  • Locked
    10. 
    Exercise: Prepare, Build and Test Projects with Gulp
    3m 15s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE