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
In one article I prove that "local functions", "global/exported functions", "custom commands", "page/feature objects", and "BDD features/scenarios" are the SAME THING! πŸ˜…
ABSTRACTIONS!

If you are unsure about what "abstractions" are, read it!
There are many simple examples in the article.
Don't forget to interact with the article if you find some value in it πŸ˜‹

https://www.linkedin.com/pulse/make-your-test-automation-better-abstractions-ivan-karaman-yrvcc/
πŸ‘2❀1πŸ¦„1
One more thing for today 😳
I've recently learned about the book called "The Culture Map" by Erin Meyer.
TLDR:
it is about CULTURAL DIFFERENCES between the countries on 8 different dimensions

Each of those dimensions is a spectrum and based on individual's upbringing and life experiences.


Why I tell you this? This could be helpful when leading people! Or, if you are not, you could show it to your managers/leaders.
By identifying the culture you're in, you are from, and the cultural dynamics of your team, one could become a better leader and communicator! πŸ€“

Here is a short article summarising the notes from the book: https://notes.nicolevanderhoeven.com/sources/Book/The+Culture+Map
❀3πŸ”₯1
Fridays are for the good stuff! ❀️
Are you ever feel frustrated that some ideas/suggestions are not done in the org, even though they seem like an obvious win?
Status quo is always easier, so you will encounter friction

Do you want to know why that happens and what to do about it?
Watch this video:
https://www.youtube.com/watch?v=8bxZuzDKoI0
πŸ‘3❀1
Every time I read an article from Vitaly Sharovatov I think "Damn, he is good!" (slightly jealous😁).
He always finds a great real-world analogy.
For example:
How "leatherwork" explains that "testing" is an integral and continuous part of development (thus cannot really slow it down)

In another article (about measuring quality, I shared it above ⬆️) had a great "measure quality of a road trip" example.
If you, for some reason, are not following/connected to Vitaly on LinkedIn, you need to fix it RIGHT NOW! πŸ˜…

The article:
https://qase.io/blog/qa-myth-busting-qa-slows-work-down/
πŸ‘4❀1
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