tag testing

標籤
貢獻54
119
05:34 PM · Oct 25 ,2025

@testing / 博客 RSS 訂閱

前端熟練工 - 正則表達式踩坑

1、正則表達式 只要加了 /g 屬性,在執行 RegExp 的 api 時,都需要注意 reg.lastIndex 屬性值的變化 RegExp.exec(string) 一個指定字符串中執行一個搜索匹配 exec(string): array || null 參數 string 返回值 匹配成功 返回一個數組,此數組的第 0 個元素是與正則表達式相匹配的文本,第 1 個元素是

regexp , match , testing , exec

收藏 評論

Ramona Schwering - Long Live The Test Pyramid

A dear colleague of mine, Jan Philip Pietrczyk, once commented on the developer’s responsibility for writing functional code: “Our daily work [...] ends up in the hands of people who trust us no

Techniques , Tools , testing

收藏 評論

YanceyKang - react項目中使用mocha結合chai斷言庫進行單元測試

react項目中使用mocha結合chai斷言庫進行單元測試 git地址:https://github.com/yancekang/... 如果對你有所幫助,感謝start 項目搭建 create-react-app react-mocha-test 創建一個名稱為 react-mocha-test 的react項目 進入 react-mocha-test 安裝 Mocha 為了操作的方便,請在全

react , mocha , chai , testing

收藏 評論

Jon Raasch - Testing Mobile: Emulators, Simulators And Remote Debugging

In the early days of mobile, debugging was quite a challenge. Sure, you could get ahold of a device and perform a quick visual assessment, but what would you do after discovering a bug? With a dist

Techniques , mobile , testing

收藏 評論

Patrick Brosset - What’s New In DevTools: Halloween Edition 🎃

I can’t believe it’s already been nine months since I last wrote about the new DevTools features across browsers! You folks are due for an update. And what an update this is going to be! Our friend

devtools , Tools , testing , debugging , Browsers

收藏 評論

Paul Boag - So Your Website Or App Is Live… Now What?

Whether you’ve launched a redesign of your website or rolled out a new feature in your app, that is the point where people normally move on to the next project. But, that is a mistake. It’s only on

ux , testing , User Experience

收藏 評論

Jörn Zaefferer - Introduction To JavaScript Unit Testing

You probably know that testing is good, but the first hurdle to overcome when trying to write unit tests for client-side code is the lack of any actual units; JavaScript code is written for each pag

testing , coding , Javascript

收藏 評論

Kevin Holesh - A Roadmap To Becoming An A/B Testing Expert

A/B testing, also known as split testing, is the method of pitting two versions of a landing page against each other in a battle of conversion. You test to see which version does a better job of lea

User Research , ux , testing , Design

收藏 評論

Nafees Nehar - Modifying Headers In HTTP(s) Requests In UI Automation Testing

There are various methods to modify headers. You can modify headers by using browser extensions or proxy apps (such as Charles and Proxyman) that intercept the request and let you modify the respons

Techniques , HTTPS , Apps , testing , ui

收藏 評論

Marina Lin - Applying Participatory Design To Mobile Testing

People use their mobile devices everywhere: on the train, while waiting in line, sitting on the couch. As much as we aim to design our mobile apps and websites for contextual use, testing their usab

mobile , ux , Devices , testing

收藏 評論

Slava Shestopalov & Eugene Shykiriavyi - Testing Sites And Apps With Blind Users: A Cheat Sheet

This article focuses on the users of screen readers — special software that converts the source code of a site or app into speech. Usually, these are people with low vision and blindness but not onl

Tools , Accessibility , testing , Usability

收藏 評論

Addy Osmani - Reliable Cross-Browser Testing, Part 1: Internet Explorer

In a perfect world, cross-browser testing would be straightforward. We would download a legacy version of a browser, run it, and be able to instantly test our pages and scripts without a single care

testing , coding , Browsers , Internet Explorer

收藏 評論

Paras Chopra - Multivariate Testing 101: A Scientific Method Of Optimizing Design

In a previous article on Smashing Magazine, I described A/B testing and various resources related to it. I have also covered the basics of multivariate testing in the past, yet in this post I’ll go

testing , Usability , Design

收藏 評論

Patrick Brosset - Useful DevTools Tips and Tricks

When it comes to browser DevTools, we all have our own preferences and personal workflows, and we pride ourselves in knowing that “one little trick” that makes our debugging lives easier. But also

devtools , Tools , testing , debugging , Browsers

收藏 評論

Inayaili de Leon - How To Support Internet Explorer and Still Be Cutting Edge

But how do we actually do that? How do we create websites that are up to date with the latest coding techniques but that are also usable for people experiencing the Web on Internet Explorer? In thi

testing , coding , Css , Internet Explorer

收藏 評論

Mariana Macedo - Eye-Tracking In Mobile UX Research

The eye-tracking methodology can be extremely valuable for usability tests since it records the journey without interfering with the users’ natural behavior. Imagine, for example, that you test a pr

User Research , mobile , testing , Usability , User Experience

收藏 評論

Louis Lazaris - CSS Differences in Internet Explorer 6, 7 and 8

One of the most bizarre statistical facts in relation to browser use has to be the virtual widespread numbers that currently exist in the use of Internet Explorer versions 6, 7 and 8. As of this wri

testing , coding , Css , Essentials , Internet Explorer

收藏 評論

Victor Ayomipo - Previewing Content Changes In Your Work With document.designMode

So, you just deployed a change to your website. Congrats! Everything went according to plan, but now that you look at your work in production, you start questioning your change. Perhaps that change

devtools , Tools , testing , debugging , Browsers

收藏 評論

Paras Chopra - Multivariate Testing In Action: Five Simple Steps To Increase Conversion Rates

The attention span on the Web has been decreasing ever since Google had arrived and changed the rules of the game. Now with millions of results available on any topic imaginable, the window to grab

performance , testing , E-Commerce , Conversion , Design

收藏 評論

Demiurg - Cross-Browser Testing: A Detailed Review Of Tools And Services

As you probably know, cross-browser testing is an important part of any developer’s routine. As the number of browsers increase, and they certainly have in recent years, the need for automatic tools

Tools , testing , coding , Browsers

收藏 評論

Cameron Chapman - Review Of Cross-Browser Testing Tools

At some point in the future, the way that all major browsers render Web code will likely be standardized, which will make testing across multiple browsers no longer necessary as long as the website

Tools , testing , coding , Reviews

收藏 評論

Wen前端嚴選 - 前端自動化測試(一)

目前開發大型應用,測試是一個非常重要的環節,但是大多數前端開發者對測試相關的知識是比較缺乏的。因為可能項目開發週期短根本沒有機會寫,所以你沒有辦法體會到前端自動化測試的重要性。 來説説為什麼前端自動化測試如此重要! 先看看前端常見的問題: 修改某個模塊功能時,其它模塊也受影響,很難快速定位bug 多人開發代碼越來越難以維護 不方便迭代,代碼無法重構 代碼質量差 增加自動化測試後:

testing , karma , jest , npm , Javascript

收藏 評論

Chris Ashton - High-Impact, Minimal-Effort Cross-Browser Testing

Cross-browser testing is time-consuming and laborious. However, developers are lazy by nature: adhering to the DRY principle, writing scripts to automate things we’d otherwise have to do by hand, ma

testing , coding , Browsers

收藏 評論

Colman Walsh - A Guide To Simple And Painless Mobile User Testing

The incredible growth of mobile and the proliferation of mobile devices has made the UX designer’s job more challenging and interesting. It also means that user-testing mobile apps and websites is a

mobile , ux , testing

收藏 評論