Tagged articles
4 articles
Page 1 of 1
DevOps
DevOps
Dec 30, 2021 · Frontend Development

Rethinking Frontend Testing: Move Away from Implementation‑Detail Focus to Real‑User Behavior

This article explains why front‑end tests that concentrate on implementation details become fragile and time‑consuming, and argues for writing tests that mimic real user interactions using Testing Library, while recognizing that many small functions lack independent business value and should be tested at the UI level instead of as isolated unit tests.

React HooksTest StrategyUnit Tests
0 likes · 9 min read
Rethinking Frontend Testing: Move Away from Implementation‑Detail Focus to Real‑User Behavior
WecTeam
WecTeam
Jan 7, 2020 · Frontend Development

Master Vue Testing: From Unit to End-to-End with Mocha, Cypress, and Vue CLI

Learn how to write comprehensive tests for Vue applications—including unit, integration, and end-to-end tests—using Vue CLI, Mocha, Chai, Vue Test Utils, Vuex, Vue Router, Sinon, and Cypress, with practical code examples that demonstrate test setup, mocking, and browser verification.

CypressEnd-to-EndIntegration Tests
0 likes · 17 min read
Master Vue Testing: From Unit to End-to-End with Mocha, Cypress, and Vue CLI