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
If you are using playwright, make sure to read about the
--only-changed

cli option!
It is very useful for the speed of local feedback loop:
only run test files that have been changed since the last git commit


https://playwright.dev/docs/release-notes#--only-changed-cli-option
πŸ‘4
Someone I follow on Twitter shared some struggles in their journey of becoming a dev (after being in testing for a long time).
This reminded me about existence of this article.
I've read it long time ago and at the time was mildly shocked.
NO, I DO NOT WANT TO!

But over the years I started to better understand what "Testing" is and "Quality Assurance" is, and what their impact on "Quality".
Puzzle clicked! The differences between them were the key.
Now I am more content with the idea (still like testing more, haha) :)

Read it, it is short and thought-provoking! 😜

https://medium.com/@juraci.vieira/love-quality-become-a-developer-9339d60dbcd6
⚑4
More good reads for you, my friends ❀️

This time a great article by Charity Majors.
Especially for those who are thinking about their career "long term" and dreads of the "what comes next after being a senior?" question....
For a lot of people the answer is obvious - MANAGEMENT! But this path is more nuanced that it seems at the first glance.
...management is a career change, not a promotion...

Read it if you ever thought of "should I try it?"
And keep in mind that this is not a "one way ticket"! πŸ₯Έ
With a couple of years under your belt as a line manager, you now have TWO powerful skill sets. You can build things, AND you can organize people into teams to build even bigger things. Right now, both sets are sharp. You could return to engineering pretty easily, or keep on as a manager β€” your choice.


https://charity.wtf/2019/01/04/engineering-management-the-pendulum-or-the-ladder/
🫑4
Good morning, pineapples! 🍍Happy Friday!
What can be better on Friday than reading about some "test automation" stuff!
Today's topic is: Page Object Model (aka POM) and assertions
Should you have assertions in the Page Object Class, or is it something that belongs to the Test code?

Selenium docs say "never"! Are they right? Read in my new article!

https://www.linkedin.com/pulse/assertions-page-object-ivan-karaman-fcnvc/
❀2πŸ€“2
Woah, this is cool! πŸ”₯
In a study of "production failures" conducted 10 years ago, the researchers found that:
A majority of the production failures (77%) can be reproduced by a unit test.

77%!
That is a lot! Traditional sentiment in many companies (I think) is that the majority of the failures come from the "integration" of blocks, not from the "internal logic" of blocks.

Give it a read, this is a very insightful article (link to a video in comments):
https://www.usenix.org/system/files/conference/osdi14/osdi14-paper-yuan.pdf
😱2πŸ”₯1
My article got the "most popular" title in the "Software Testing Weekly" newsletter. πŸ₯‡
Awesome? Awesome!

I genuinely never thought this will ever going to happen...
If you missed it, give it a read, it is a gold-winning article after all (or the most clickbaity one??)! 🀣

https://twitter.com/QANewsletter/status/1833289939204685905
πŸ”₯3❀1
I didn't know that before, assuming you also might not be aware.
You can create a mock server in Postman πŸ”₯

Of course, there are other tools that will achieve the same result. But if your team is using Postman already and doesn't like to search/introduce new tools/libraries, then it's a "no-brainer" option!
https://x.com/mjovanovictech/status/1833785734848749914
πŸ‘3πŸ‘Ύ2
Do you know what "cumulative layout shift" is?
Do you pay attention to it when you test?
I look for it when performing my testing!

Why? Because it is annoying! πŸ˜… When it happens, it is a usability issue... You don't want your users to be annoyed, do you? ;)

If you don't know or want a refresher on what "cumulative layout shift" is, read this article:
https://web.dev/articles/cls
🫑3
I just came across this super cool site for accessibility testing! If you’re building or testing websites and not sure how to test for a11y, go and check it out!
I am not kidding, it has a nice UI and good examples!

Of course, it is not comprehensive, so don't assume it can replace all WCAG checks.
But it is amazing if you are new to accessibility! ❀️
#a11y #accessibility #accessibilityTesting #testing #qa #softwareTesting

(Screenshot in comments)
https://www.magentaa11y.com/web/
πŸ”₯4
Remember the "anyone keen to join me" post?
I found a few people and arranged an event!
But... almost forgot to announce it here! This time the topic is:
Generating test data

Come to the stream, chat with me, stay for the learning and fun (haha!)
β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
➑️ Friday 11th, 4 PM, NZST New Zealand Standard Timeβ€”-
β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
https://www.youtube.com/watch?v=QAbIFJy-oPQ
Here's "yet another horror story" of how software can RUIN THE LIVES of the people. This one has a happy ending, but this ending was possible because the Twitter/X thread went viral.

For any detectives here, it is very likely that the answer to the question "Who is the murderer?" is "AI", but humans FAILED to control and stop it.
Periodic reminder that if you are working with SOPHISTICATED AND BIG software systems (like eBay) you need to TEST THEM BETTER.

(assumptions zone) The team that ships the "AI flagging feature" might not be aware of how exactly the customer support operates, and vice versa... So it is possible that AI flags the profile and there is no working mechanism to stop it from doing so or mark it as a "false positive". As a result, the "end-to-end" user journey ends up being a complete mess!

But hey, all tests were passing when you shipped it, right? πŸ˜…

Link to the original thread: https://x.com/CassieCeleste/status/1843702724090835178
For those without an account, PDF in comments β†˜οΈ
😱3
A reminder that the "test data generation" livestream is happening today!

...and 2 more streams are in the pipeline!
(link in comments)
πŸ¦„3πŸ‘1
Surely most of you reading this done some sort of "estimations" in some shape or form.
Then this is a good watch for you. It is not a testing/quality related per se, but useful.

TLDR:
Estimates are waste πŸ—‘

What to use instead? Projections!
Turns out, if you just count "how many stories we have" and "how many we finished" the projection line for the future is pretty accurate (and more agile)!

There's a lot more good wisdom nuggets in it!
Watch the video and show it to your team (and especially your managers)! 😜

https://www.youtube.com/watch?v=QVBlnCTu9Ms
πŸ”₯3