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
-
1.Creating a List of Tasks3m 9sUP NEXT
-
2.Copying Fonts to the Build Folder3m 46s
-
3.Compressing and Copying Images3m 6s
-
4.Cleaning the Build Folder6m 22s
-
5.Installing the mocha testing library Plugin7m 42s
-
6.Working with mocha6m 35s
-
7.Testing in the Browser8m 23s
-
8.Testing Code Coverage4m 30s
-
9.Performing Server Integration Testing5m 2s
-
10.Exercise: Prepare, Build and Test Projects with Gulp3m 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.