IvanAndCode - Test Automation, Testing, and Quality discussions with Ivan
47 subscribers
3 photos
105 links
Curated selection of the materials/news/announcements about Test Automation, Testing, and Quality. Presented to you by Ivan Karaman (aka IvanAndCode)
Download Telegram
JSON this and JSON that!
JSONs are everywhere these days. But did you ever look at JSON spec to get a deeper understanding?

This tutorial is using JS to visualise examples and starts with the primitive data types: string, number, boolean, null, object, and array. Then we dig deeper into the objects and arrays, their structure, and the ways to traverse them in code using dot or square bracket notations.

https://www.youtube.com/watch?v=gu1yz7ZyQCI
My most popular video on the channel is about Chrome Dev Tools! 😎

- how browser console helps you spot errors
- how to find an exact request that your website has made to the backend (API) without scrolling through hundreds of them
- how to copy your request (cURL) into Postman for extra testing
- how to make network and CPU slow (throttling) to get "normal user" experience
- how to check the order of rendering using "screenshots" feature. This helps with evaluating usability of the page.
- how to emulate mobile device to test for responsive (or adaptive) layout, and how to enhance it with media queries
- how to override geolocation to check the content (if your website supports different locations)
- how to override browser's user agent
- how to create different browser profiles to perform "speciality" testing like accessibility or performance, or to wear different user hats like "security conscious user", "normal user with no plugins/extensions", etc.

https://www.youtube.com/watch?v=ShqvUWYWWpg
Unit testing with Jest!

- creating a new npm project "npm init", adding dependencies to the package.json, and adding the first test
- grouping files together by using describe
- writing good human-readable test names
- using "test" & "it" aliases
- using ".only" to isolate and run only one test
- using ".skip" to not run certain tests
- data-driven testing with three different approaches
- using mocks & spies to not rely on code that we don't control
- clearing state of the Jest mock functions with "jest.clearAllMocks()"
- using hooks to add code that runs beforeAll, beforeEach, afterEach, and afterAll tests
- running tests in a "watch mode" that automatically reruns your tests when implementation or test code changes
- using interactive mode for more flexible selection of the tests with a regex pattern, or only re-running failed tests
- gathering code coverage to find weak spots (and even achieving 100% coverage!)
- finding rogue async code that could be running after the test framework has finished using "detectOpenHandles" flag (helpful for race conditions, unresolved async HTTP calls, open DB connections, etc.)

https://www.youtube.com/watch?v=DxrSUrMP_OI
Accessibility aka a11y!

- the test tips for using automation tools like Google Chrome Lighthouse or other browser extensions
- introduction into the "accessibility tree", why it is important for the screen readers and an overall accessibility
- introduction to WCAG spec (web content accessibility guidelines) and a little tutorial on how to make sense of it

https://www.youtube.com/watch?v=evo8U_qZPRo
Title of the video says it all. The ultimate guide to testing:)

I know, a little bit click-baity title, but essentially testing anything could be distilled to a similar process. So if you master "testing a pencil" you would be able to test ANYTHING! 😮

https://www.youtube.com/watch?v=UiIrs4tk5SY
Can't find a good and simple explanation of what QA is? Is testing the same as checking? Quality control seems like a term you've heard but never understood?

This video will help you understand:
- QA or Quality Assurance
- QC or Quality Control
- Testing
- Checking

https://www.youtube.com/watch?v=NRwqXYbN-ms
Learn about performance testing foundations using this video tutorial. You will learn about different performance testing types, its terminology, and create first load tests using k6 and JavaScript.

Testing types covered in this video:
- performance vs load
- spike
- breakpoint or stress test
- normal load
- endurance or soak
- scaling
- recovery

I will use k6 load testing tool to demo the progress and you will learn all of the basic concepts:
- getting started
- using options to change test duration
- using virtual users (VU or VUS) to increase load
- using stages to control ramping up & down

And, of course, I will clarify fundamental knowledge blocks required to interpret results:
- average (mean) vs median
- percentiles meaning (p90 & p95)
- different load patterns

https://www.youtube.com/watch?v=kt1Bb3fzqlI
IvanAndCode - Test Automation, Testing, and Quality discussions with Ivan pinned «Welcome to the channel! If you are working in the software development field, it might be helpful for you! However, the main target audience is Testers/Test Engineers/SDETs/QAs/and other similar titles 😅 This channel will have a mix of content: 1 - content…»