Tag

mocha

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 10, 2022 · Backend Development

Backend Technology Selection for a Low‑Code Poster Platform

This article explains the backend technology choices for a low‑code poster platform, covering Node.js framework selection, database decisions (MySQL, MongoDB, Redis), authentication methods (Session vs JWT), and unit/integration testing tools such as Mocha, SuperTest, and related code examples.

BackendJWTMongoDB
0 likes · 14 min read
Backend Technology Selection for a Low‑Code Poster Platform
转转QA
转转QA
Jan 19, 2022 · Frontend Development

Getting Started with UI Automation Testing Using Puppeteer and Mocha

This tutorial explains how to set up and use Puppeteer together with the Mocha test framework to create, run, and report UI automation test cases for web and H5 applications, covering installation, a demo script, selector handling, and visual test reporting.

Frontend DevelopmentJavaScriptNode.js
0 likes · 6 min read
Getting Started with UI Automation Testing Using Puppeteer and Mocha
政采云技术
政采云技术
Dec 7, 2021 · Frontend Development

A Comprehensive Guide to Frontend Unit Testing with Jest and Mocha

This article introduces the importance of frontend unit testing, presents survey data on current practices, compares popular frameworks like Jest and Mocha, provides step‑by‑step setup instructions, demonstrates code examples for JavaScript, TypeScript and async functions, and explains how to generate coverage reports and use common assertions.

CoverageJavaScriptJest
0 likes · 16 min read
A Comprehensive Guide to Frontend Unit Testing with Jest and Mocha
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 3, 2021 · Frontend Development

Frontend Unit Testing Technical Solutions: A Comprehensive Guide

This guide surveys modern frontend unit‑testing solutions, comparing Node’s assert, Chai, Mocha, Jasmine, and Jest, explaining module formats, environment setups for Node, JSDOM, and real browsers, and detailing React testing with Jest + Enzyme’s shallow, mount, and render methods.

EnzymeJestKarma
0 likes · 25 min read
Frontend Unit Testing Technical Solutions: A Comprehensive Guide
转转QA
转转QA
Aug 28, 2019 · Frontend Development

Using Puppeteer for UI Automation: Challenges, Solutions, and a Monitoring System

This article examines the difficulties of UI automation such as high script costs, instability, and rapid UI changes, and presents practical solutions using Puppeteer—including device emulation, robust test architecture with Mocha, error handling, dynamic selector strategies, and a monitoring system that captures screenshots and reports failures.

PuppeteerUI AutomationWeb Testing
0 likes · 11 min read
Using Puppeteer for UI Automation: Challenges, Solutions, and a Monitoring System
Beike Product & Technology
Beike Product & Technology
May 23, 2019 · Fundamentals

Frontend Automated Testing: A Comprehensive Guide

This article explores four key questions about automated testing: what it is, why it matters, which projects benefit from it, and how to implement it, providing a complete frontend testing framework including unit testing, API testing, functional testing, and benchmark testing.

API testingAutomated TestingFrontend Testing
0 likes · 16 min read
Frontend Automated Testing: A Comprehensive Guide
Qunar Tech Salon
Qunar Tech Salon
Jul 21, 2017 · Frontend Development

Using Selenium with Headless Chrome, Mocha, Chai, and Karma for Front‑End Testing

This guide explains how to use Selenium WebDriver with headless Chrome, integrate BrowserStack and chromedriver, and combine Mocha, Chai, and Karma to write, configure, and run automated front‑end tests, including sample code and troubleshooting tips.

Frontend TestingKarmaSelenium
0 likes · 11 min read
Using Selenium with Headless Chrome, Mocha, Chai, and Karma for Front‑End Testing