Preparing the Build Folder & Testing
Gulp.js 3.9
| Intermediate
- 10 videos | 51m 50s
- Earns a Badge
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 projectCreate a build folder and a gulp task to copy the fonts to the dist/build folderInstall the gulp-imagemin package to compress images and create a gulp task to copy the compressed images to the dist/build folderCreate tasks to clean the subfolders of the dist/build folderUse 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 runnerWork with the mocha to run unit tests inside the browserUse istanbul with mocha to test code coverage in your projectsUse the request package to perform server integration testingIdentify 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 9sLearn 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 46sIn this video, learn how to create a build folder and a Gulp task to copy fonts to the dist/build folder. FREE ACCESS
-
3m 6sIn 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
-
6m 22sIn this video, learn how to create tasks to clean the subfolders of the dist/build folder. FREE ACCESS
-
7m 42sIn 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
-
6m 35sIn this video, find out how to work with mocha to run unit tests using the command line. FREE ACCESS
-
8m 23sLearn how to work with mocha to run unit tests inside the browser. FREE ACCESS
-
4m 30sLearn how to use Istanbul with Mocha to test code coverage in your projects. FREE ACCESS
-
5m 2sIn this video, you will use the request package to perform integration testing on a server. FREE ACCESS
-
3m 15sFind 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.