https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test
RegExp 实例的 test() 方法使用正则表达式在指定字符串中执行搜索。如果存在匹配,则返回 true, 否则返回 false。
prototype testregexpjavascriptmdn
https://snyk.io/pt-BR/blog/how-to-write-unit-test-in-javascript/
Testing code is the first step to making it secure. One of the best ways to do this is to use unit tests, ensuring that each of the smaller functions within an...
first unitwritetestjavascriptsnyk
https://github.com/oven-sh/bun
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one - oven-sh/bun
githubovenshbunincredibly
https://sinonjs.org/?utm_source=cdnjs&utm_medium=cdnjs_link&utm_campaign=cdnjs_library
Standalone test spies, stubs and mocks for JavaScript. Works with any unit testing framework.
sinonjsstandalonetestfakes
https://www.infoq.com/presentations/jasmine-unit-tests-javascript/
Brad Urani presents the principles of writing unit tests using Jasmine, discussing spies, DI and mocking as strategies for isolating functionality for both...
test drivenjavascriptjasmineinfoq
https://www.fastly.com/blog/test-your-compute-apps-end-to-end-with-javascript
Automated testing is a vital part of app development, and now it's easier than ever to use JavaScript to write tests with the Compute Application Testing...
testcomputeappsendjavascript
https://saucelabs.com/resources/webinar/tech-talk-javascript-test-automation-at-scale
Learn how to scale Cypress, Playwright, Testcafe tests, and more on the Sauce Cloud.
tech talkjavascript testautomationscale
https://saucelabs.com/resources/white-paper/javascript-test-automation-essentials-refcard
Learn about the conceptual underpinnings of modern JavaScript test automation frameworks and explore six of the most popular JS test frameworks available today.
javascript testdzonerefcardautomationessentials
https://www.lumar.io/ebooks/javascript-seo-guide/how-to-test-javascript-rendering/
Oct 26, 2022 - In this guide, discover some of the different tools available for analyzing the JavaScript on your site, and the key things you need to test for.
javascript renderingtestsitelumar