Home

2018.07.02 - GUI Testing Powered by Deep Learning

Pi

Ping Xia

March 21, 20225 min read

Title: 2018.07.02 – GUI Testing Powered by Deep Learning

Deep Reading

JavaScript Usage by Industry https://blog.npmjs.org/post/175311966445/javascript-usage-by-industry
We’re continuing our analysis of the results of last winter’s JavaScript Ecosystem Survey, a survey of over 16,000 developers conducted by npm in collaboration with the Node.js Foundation and the JS Foundation. Our second topic is How JavaScript is used across industries—and, more specifically, how different industries use certain JavaScript tools, frameworks, and practices. To read more about the methodology behind this survey, click here.

Standard ECMA-262 ECMAScript® 2018 Language Specification https://www.ecma-international.org/publications/standards/Ecma-262.htm
The official spec for ES2018 (essentially the 9th edition of the JS spec) has been published. Attachments: Exploring ES2018 and ES2019, Tracking ECMAScript Proposals

On Consuming (and Publishing) ES2015+ Packages https://babeljs.io/blog/2018/06/26/on-consuming-and-publishing-es2015+-packages
For those of us who need to support older browsers, we run a compiler like Babel over application code. But that’s not all of the code we ship to browsers; there’s also the code in our node_modules. Can we make compiling our dependencies not just possible, but normal? The ability to compile dependencies is an enabling feature request for the whole ecosystem. Starting with some of the changes we made in Babel v7 to make selective dependency compilation possible, we hope to see it standardized moving forward.

Write Perfect Code with Standard and ESLint https://www.youtube.com/watch?v=arNtoWxBuXc
In this talk, Feross Aboukhadijeh explains code linting—how to use Standard and ESLint to catch programmer errors before they cause problems for your users. We’ll discuss how to get started with linting, as well as how to improve your setup if you’re already linting your code.

GUI Testing Powered by Deep Learning https://www.ebayinc.com/stories/blogs/tech/gui-testing-powered-by-deep-learning/
Contemporary developments in deep learning unleash efficiencies in GUI testing and the software lifecycle, potentially. A recent pilot, described below, proved this approach to be realistic and practical. Additional link: Integration Testing with React and Enzyme

Meituan Delivery iOS Multi‑Terminal Reuse: Motivation, Support, and Reflections https://tech.meituan.com/iOS_multiterminal_reuse.html
When talking about multi‑terminal reuse, componentization inevitably comes up; componentization is one of the necessary conditions for reuse across platforms. Most companies’ notion of “componentization” stops at code segregation—using CocoaPods’ Podfile to manage libraries and aggregating version numbers in the main project. Few manage to design a reasonable layered architecture, clarify dependencies, and provide a full toolchain to support component releases and integration. Otherwise, componentization only leads to larger bundle sizes, slower development, and tangled dependencies.

From Tianhe‑2 to Alibaba Cloud Supercomputing: Career Wisdom from a P9 Tech Veteran https://mp.weixin.qq.com/s?__biz=MjM5MDE0Mjc4MA==&mid=2651007990&idx=1&sn=b8bf7d5a912d8ba6a65c7ffa6cd78835
The rapid pace of technological change often makes programmers in high‑tech fields feel anxious and fearful of being left behind. In a Geek Live session, He Wanqing, head of Alibaba Cloud Supercomputing, shared his career wisdom. He prefers to call himself a “software engineer” rather than a “code monkey” or “programmer.” He says technologists should find their own “infinity ∞” instead of wasting time on saturated tasks; age will increase, but if everything else stays the same, you’ll be replaced.

[Translation] Web Front‑End Frameworks: Cure or Poison? https://mp.weixin.qq.com/s?__biz=MzUxMzcxMzE5Ng==&mid=2247489138&idx=1&sn=8b130c0ed1c972acdb3f9af5286aee08
To use a modern front‑end framework, you need to download a development environment and dependencies, compile the code, and then run it in a browser. Is that good or bad? What exactly causes this unnecessary complexity—are the sites we build too complex, or are the frameworks themselves inherently complicated?

Should We Use React Native? https://blog.expo.io/should-we-use-react-native-1465d8b607ac
Watching tens of thousands of developers consider React Native and talking to many of them, I’ve found that teams fall into three broad categories. Two of them are very likely to be successful and happy with React Native; the third usually ends up a bad experience. Should you use React Native in your project? Here’s a quick guide that might help you and your team decide whether React Native is a good fit.

Building Browser Extensions with React https://www.rubberduck.io/blog/browser-extensions-react/
We built Rubberduck, a browser extension that adds IDE‑like features (find usages, definitions, file tree) to GitHub web pages. Users employ it to read and review code faster on the web. We built Rubberduck with React and want to share our create‑react‑app setup for extension projects.

The Best React Inline‑Style Libraries — Comparing Radium, Aphrodite, & Emotion https://blog.logrocket.com/the-best-react-inline-style-libraries-comparing-radium-aphrodite-emotion-849ef148c473
This article is about inline styles, but I won’t discuss what they are or whether you should use them. Instead, I’ll cover libraries that make inline styling easier in React—libraries that provide features not natively supported (e.g., media queries). I’ll compare Radium, Aphrodite, and Emotion.

Drawing Images with CSS Gradients https://css-tricks.com/drawing-images-with-css-gradients/
By “CSS images” I mean pictures created using only HTML elements and CSS. They look like SVGs drawn in Adobe Illustrator, but they’re rendered directly in the browser. Techniques I’ve seen include fiddling with border‑radius, box‑shadow, and sometimes clip‑path. Let’s look at how you can create CSS images yourself.

Threads in Node 10.5.0: A Practical Intro https://medium.com/dailyjs/threads-in-node-10-5-0-a-practical-intro-3b85a0a3c953
A few days ago Node.js 10.5.0 was released, and one of its main features is the addition of initial (experimental) thread support. This is interesting, especially coming from a language that prides itself on not needing threads thanks to its fantastic async I/O. So why would we need threads in Node?

How to Build Powerful REST APIs Blazingly Fast with Node.js https://resthapi.com/blog/2018/06/26/How-To-Build-Powerful-APIs-Blazingly-Fast-With-Nodejs.html
REST APIs are everywhere. Unfortunately, in the wild‑west world of JavaScript and Node.js, standards and best practices for writing RESTful APIs can sometimes be ignored. Additional link: How to Build Powerful REST APIs Blazingly Fast with Node.js

Build a Video Chat Service with JavaScript, WebRTC, and Okta https://scotch.io/tutorials/build-a-video-chat-service-with-javascript-webrtc-and-okta
Today I thought it’d be fun to walk you through using WebRTC and Okta to build a simple video‑chat service that lets users create a room, share the link, and have real‑time conversations.

Web Assembly and Go: A loo (content truncated)


Originally written by Ping Xia (平侠) and published in Chinese on Web技术周刊 (Web Tech Weekly). Translated and adapted for DriftSeas with permission.

Keep reading

More related articles from DriftSeas.