
Understanding npm Packages:
A Beginner's Guide In this video, we dive into the basics of npm packages, the building blocks of modern JavaScript development. Whether you're new to web development or just getting started with Node.js, this guide will help you understand what npm packages are, how they work, and why they're essential for your projects.
? Topics Covered:
What is an npm package?
The key components of an npm package (package.json, source code, dependencies, README, etc.)
Different types of npm packages (public, private, and local)
How to install and use npm packages in your projects
Versioning and publishing your own npm packages
? By the end of this video, you'll have a solid understanding of npm packages and how to leverage them to speed up your development process.
In this tutorial, I dive into the world of TypeScript bundling using tsup.
Learn how to configure tsup for your TypeScript projects, including generating .d.ts declaration files to provide robust type definitions for TypeScript consumers.
This video covers everything from setting up your tsup config file to understanding the significance of the dts option. Whether you're building a library or a standalone project, this guide will help you ensure compatibility across different environments with both CommonJS and ESM formats. Perfect for developers looking to enhance their TypeScript workflows!
In this video, we'll learn how to get the test results and store it in an array.
Playwright custom reporter provides all the necessary information, we just have to figure it to store and display in the HTML format.
In this tutorial, I'll walk you through how to use Handlebars (HBS) templates to create dynamic and customizable reports for your Playwright tests. Learn how to pass test statuses directly into your report, making it easier to visualize and track your test results. Whether you're building detailed test reports for your team or just want to improve your reporting workflow, this video will guide you step-by-step.
In this tutorial, we'll walk through the process of building a custom dashboard using Handlebars.js (HBS) and Bulma CSS. Whether you're a beginner or looking to enhance your web development skills, this video covers everything you need to know to get started.
In this video, we'll guide you through the process of integrating user data into a report using TypeScript. From setting up constructors and type definitions to adding dynamic elements to your report, this tutorial will help you master the fundamentals of TypeScript and report customization.
In this video, we'll explore how to effectively group test results in your reports. You'll learn how to understand the data flow and organize test suites, projects, and file paths for better readability and management of your test results.
In this tutorial, we'll focus on building and enhancing the UI for grouped test results. Learn how to design an intuitive and organized user interface that displays your test specifications clearly, and see how to add titles and enhance the UI using content classes.
In this video, we'll learn how to display the test list in a beautiful way and we'll also learn how to add a few meta data to the test list.
In this video, we'll learn how to extrace the data and convert it into a json data with the hejp of handle bar json helper.
In this video, we'll learn how to use the JS string literal and design the test detail section.
In this video, we’ll guide you step-by-step through the process of preparing your TypeScript project for release. From setting up configurations to testing and fixing issues, this tutorial will help you confidently release your project into production.
In this video, I’ll guide you how to build a node package using tsup and then publishing it to the npm js site.
Master NPM Package Development and Playwright Custom Reports
Are you a Test Automation Engineer or a JavaScript/TypeScript Developer looking to build and publish your own npm package? Do you want to customize Playwright test reports and make them visually insightful? If so, this course is for you!
In this hands-on course, you’ll learn how to build, package, and release an npm library while using Playwright’s custom HTML reporting as a real-world example. Whether you're an automation tester looking to enhance your reports or a developer aiming to publish your first npm package, this course provides practical, step-by-step guidance.
What You Will Learn
Create and set up an npm package using TypeScript and tsup
Leverage Playwright's reporting API to extract and format test results
Use Handlebars.js to dynamically generate and customize HTML reports
Design a dashboard to display test suites, cases, and execution details
Group and filter test results to improve report clarity
Prepare and publish your package to npm, following best practices
Automate versioning and releases for a seamless workflow
Who Should Take This Course?
Test Automation Engineers looking to enhance Playwright reports
JavaScript/TypeScript Developers interested in publishing npm packages
QA Engineers who want to build custom reporting solutions
Open-source enthusiasts eager to contribute to the npm ecosystem
This course is beginner-friendly, but some knowledge of JavaScript/TypeScript and Playwright will be helpful.
By the end of this course, you'll have a fully functional npm package that generates beautiful, customizable HTML reports—and you'll be ready to publish your own libraries to the world!