TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Complete FE testing in 2019?

3 pointsby eshlomoover 6 years ago
Complex front end app, canvas components, spa, stores, reactivity, etc.

2 comments

arenaninjaover 6 years ago
Assuming you can mock store state and fully render your application it should be doable with puppeteer&#x2F;selenium or similar, but this would likely mean mocking out HTTP calls to return immediately or some alternative to hijack XHR calls and return a particular payload<p>It sounds pretty high burden, can you focus on testing the critical path instead?
pedro1976over 6 years ago
Definitely cypress [0]. I can&#x27;t recommend selenium based solutions if you care about execution speed and don&#x27;t care about the browser.<p>[0] <a href="https:&#x2F;&#x2F;www.cypress.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.cypress.io&#x2F;</a>