:white_check_mark: The Node.js best practices list (January 2022)Project mention: express-ts | reddit.com/r/typescript | 2022-01-14
Fast, easy and reliable testing for anything that runs in a browser.Project mention: Cypress and Flaky Tests: How to Handle Timeout Errors | dev.to | 2022-01-13
Cypress is an automated end-to-end testing framework with over three million weekly open-source downloads at the time of this writing. It’s steady popularity isn’t without reason; the perks of using Cypress include, among other things, a snapshot visualization tool, automatic reloads after any change in your tests, and the ability to control network requests and responses without ever hitting your server.
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Here is a quick tutorial on Test-Driven Development (TDD) with the Mocha test tool and Node.js.
React 17 Release Candidate came out. Shortly after, an issue has been raised in Enzyme repository to add support for React 17. Immediately after, @layershifter has opened a PR adding an official enzyme-adapter-react-17.
Node.js test runner that lets you develop with confidence 🚀Project mention: Chaijs.com just let their domain expire | news.ycombinator.com | 2021-12-17
I really enjoy Ava  or anything assert-tape-like . "uvu"  is getting a lot of love lately, but it's very feature limited and much of it's touted advantages are at the detriment to feature set.
Jest is great for front-end (or full stack integration) testing, but I feel it's specialized for that use-case and doesn't always play nice with backend/middle-tier testing needs.
🐐 Simple and complete React DOM testing utilities that encourage good testing practices.Project mention: Getting Started with React Cosmos | dev.to | 2021-08-23
There are many ways to test component UIs and some testing frameworks help us achieve that, to mention but a few react-testing-library, where we write tests to check what a component has, for example, if we are testing a form component, we will write tests to check it a button is rendered, if there are input and/or select tags, etc and we usually see the results in our terminals but with React cosmos, we have a visual way to test our components (Visual TDD) which makes testing easier.
Step 1 : Download the latest version of Jasmine from the official website.
OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
:see_no_evil: Volkswagen detects when your tests are being run in a CI server, and makes them pass.Project mention: If (fps < 30): fps = 30 | reddit.com/r/ProgrammerHumor | 2021-12-20
Or literally this: https://github.com/auchenberg/volkswagen
End-to-end testing framework written in Node.js and using the Webdriver APIProject mention: Possible alternatives to Front End Web Development | reddit.com/r/Frontend | 2021-12-06
Gray box end-to-end testing and automation framework for mobile appsProject mention: Integration testing Native UI Components; | reddit.com/r/reactnative | 2021-12-17
Whilst developing a RN UI component for Video playback by work I couldn't find a nice way to write integration tests that would test the bridging between my JS and native layers. Jest tests only verify JS code and mocks the native side (by design), but I wanted to write a test that verified my component in its entirety (JS all the way to the native layers). Sure I could have written an E2E test in Detox to drive through some UI and verified the JSNative integration indirectly by displaying some text on the screen and checking for it, but it didn't feel quite right? (especially since this Video component has a bunch of callbacks and state that I wanted to verify). I wanted to do something similar to instrumented tests on Android where you can write unit and integration tests at a lower level and run them on a device or emulator. So I actually wrote a small utility in React and TypeScript that allows me to write low level integration/unit tests for a native UI component (or module). The test then gets executed as part of our E2E Detox test run 🎉. If this concept is of interest I could publish some code and a write a more detailed article, so let me know 🙏. Also, if there's an existing way to write integration tests for native UI components or modules that can test the JS and Native layers together, please let me know 👍. https://reddit.com/link/kexgsj/video/45ksb1qzxq561/player
tap-producing test harness for node and browsersProject mention: Tools for testing Functional Web Apps | dev.to | 2021-12-20
For us at Begin and Architect, tape has been in use for several years. tape has a stable and straightforward API, routine maintenance updates, and outputs TAP, making it really versatile. While TAP is legible, it's not the most human-readable format. Fortunately, several TAP reporters can help display results for developers. Until recently, Begin's TAP reporter of choice was tap-spec. Sadly tap-spec wasn't kept up to date and npm began reporting vulnerabilities.
A visual overview of useful skills to learn as a web developerProject mention: Web Skills – This is a nice chart of web dev skills. Could be a reminder of how far you've come, or a glimpse of how much there is to learn. Web development is hard. | reddit.com/r/webdev | 2021-10-10
I recommend reading the Readme for the project as others have mentioned https://github.com/andreasbm/web-skills, as it isn't the intention of the author to deter beginner programmers.
the Istanbul command line interfaceProject mention: Production Ready React | dev.to | 2022-01-18
Jest uses a package called Istanbul to provide test coverage metrics such as statement, branch, function, and line coverage so that you can understand and enforce the quality of your test suite, providing more confidence in releases.
Accessibility engine for automated Web UI testingProject mention: Hello, I inherited a site and got put in charge of ensuring ADA WCAG compliance, could use help with tooling | reddit.com/r/accessibility | 2022-01-04
Tests are located in the test/ folder. Load test/test.html in your browser of choice with any HTTP server you like (I use http-server). Tests are written in QUnit and are…
Language-agnostic HTTP API Testing ToolProject mention: Dealing with backend developers | reddit.com/r/Frontend | 2022-01-21
One more tip for the backend developers: make sure the API implementation is tested against the API specification using contract-testing tools such as Dredd or Schemathesis. I specially recommend schemathesis as it's a lot more comprehensive. I recommend you run those tests in the CI and require them to pass before they can merge their API changes. This is the only reliable way to ensure the API works as expected.
Supercharged End 2 End Testing Framework for NodeJSProject mention: TCMs and exploring Testomatio | dev.to | 2021-12-23
This is where https://testomat.io comes in. I discovered this TCM whilst working with https://codecept.io/ and part of their Slack group. Testomatio is built by the team behind codeceptjs, bringing in vast experience in test automation behind the scenes.
Pa11y is your automated accessibility testing palProject mention: A11y Testing: Automating ScreenReaders | dev.to | 2021-12-30
There are lots of toolkits out there for ensuring the inclusivity and accessibility of our sites: with the likes axe-core and htmlcs for static analysis, and pa11y, koa11y, and cypress-audit (there are more) for helping us to explore or automate static analysis checks into our CI pipelines. 🚀🚀
:mailbox: SMTP Server + Web Interface for viewing and testing emails during development.Project mention: Django Mail Debug with MailDev w/ Docker for four Steps. | dev.to | 2021-02-17
In my case, I used docker-compose to do this, but please read accordingly. Of course, you can also use Docker commands to run it, and even if you don't have Docker environment, you can install and use it with npm command. For more information, please look at official document here .
:owl: Custom jest matchers to test the state of the DOMProject mention: Build your own component library with Svelte | dev.to | 2021-11-09
We will also use an additional plugin with Testing Library called user-event, which allows us to mimic user events, like typing inside an input or clicking on a button. We will also use a plugin called jest-dom, which extends the DOM-related matching capabilities of Jest, which we require because we are dealing with web components.
✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.Project mention: React-pdf testing | reddit.com/r/reactjs | 2021-12-26
A combination of https://github.com/americanexpress/jest-image-snapshot and whichever of https://www.npmjs.com/search?q=keywords:pdf%20to%20png renders your PDF the best should work.
I recently stumbled upon power-assert library that deparses a false value and throws an exception with an explanation how it was evaluated (tutorial & playground included). I don't really understand how it works but perhaps one of its dependencies/components could do something similar to what you want.
Best way to add unit testing to SvelteKit Project?
1 project | reddit.com/r/sveltejs | 19 Jan 2022
Thread Diario de Dudas, Consultas y Mitaps - 19/01
2 projects | reddit.com/r/argentina | 19 Jan 2022
The Node.js testing bible (with example app)
1 project | reddit.com/r/node | 17 Jan 2022
Simple Test-Driven Development (TDD) With Mocha and Node.js
1 project | dev.to | 16 Jan 2022
1 project | reddit.com/r/journalduhacker | 16 Jan 2022
Cypress and Flaky Tests: How to Handle Timeout Errors
1 project | dev.to | 13 Jan 2022
Famous Node developer (TJ) asked to delete all his commits
1 project | news.ycombinator.com | 11 Jan 2022
Are you hiring? Post a new remote job listing for free.