Avoid emails
Who feels most emails are a waste of time?
FYI emails, cc’ed emails, bcc’ed emails, the long legal contract like emails, the confusing email with half the department copied in…
There are many reasons of this, most have to do with ways of working
Sometime no one wants to make a decision and let the focal point to keep spinning like a merry go round
Build a culture of test and learn, so people safe making decisions – Psychological safety
Also try to connect to people / have a quick group discussion as much as possible instead of long emails with a dozen people copied in.
Data quality in big data
One of the biggest challenge in #BigData projects is ensuring the ‘quality’ of data
Debugging ‘anomalies’ across #DataPipelines can be a nightmare. Certain teams end up spending more time debugging than actually coding new features.
That’s because usually there are no automated data quality checks in place to catch issues, and they have to trace back anomalies across huge amounts of data sifting through complex ETL processes.
With other development projects, the behavior is more predictive because inputs into the system are homogeneous.
For #BigData projects, there is no guarantee on the data we ingest & the how it get’s processed will always be accurate – the input is NOT homogeneous.
The solution to this: have #automated data quality checks running in #production across the data pipeline
#RedefiningSoftwareQuality #BigData #Testing #Automation
Waterfall vs Agile Project Management
Project management – waterfall vs agile:
– Project phase 1: 50% over budget & 6 months late
vs
– In X budget & Y time we’ve managed to prove benefit hypothesis works / doesn’t work
Prime difference is:
In waterfall we benchmark spend against ‘planned spend’ (which is ALWAYS WRONG)
In Agile we benchmark spend against ‘value created’
Also – Can you sniff the BIG WALL / Them vs Us in waterfall
And agile is more about we as a group managed to achieve this
#RedefiningSoftwareQuality #AgileTransformation #Agile
Git course in automation training
Automation training projects should have a course on Git.
Mostly engineers don’t prioritize to learn how to effectively collaborate on source control management tools.
This causes lack of support & maintenance on the code base.
Get in the habit of collaborating more on code (code reviews, adding comments, contributing).
Otherwise we don’t document design decisions, or its in a document buried somewhere and never used because hard to find when needed.
Technical debt
“We don’t want to invest in tech debt right now, need to churn out more features”
That’s like saying, we’re not going to clean the house for a month, it’s just a waste of time..
(FYI, not investing in automation is accumulating tech debt)
Data pipeline quality stages
Three common stages of a data pipeline:
– Ingestion into data lake. Curating data.
– Pushing into data warehouse, model data.
– Pull data from warehouse and build analytical models.
Can differ according to use case.
Data quality checks should happen before entering and within each stage.
Automate BDD scenarios on the service layer
Should a BDD test scenario only be automated on the UI?
Commonly the answer is yes, I have a different opinion.
Let’s say feature is to show total cost of items in a shopping cart along with the shopping cart icon.
Implementation changes will be at the front end & service layer.
I’d personally want to have unit tests for new methods, component tests on the end point and:
Service integration tests for the BDD scenario – Adding / removing products to the cart and seeing if the cart total gets changed – or whatever the scenario may be
No harm in adding an extra check to an existing UI test, but I’d refrain from having a whole new UI script just for this, rather have an exclusive one on the API.
Thoughts?
Combining Web & Mobile framework
A recent question I got asked:
How to combine Web & mobile UI automation frameworks together?
Now there will be no one size fits all answer here, but here’s what my experience has been:
1. Most teams try to run every test through selenium, and then the same through mobile (Appium, XCUITest etc..)
And that is the biggest problem – don’t have a lot of tests running there, most of you testing should be completed on your services level
2. Depending on your product, there might not be a lot of synergies between the tests you have on web & mobile, keep an eye out
3. Keep your frameworks very modularized, every component can be reusable
4. The utils layer can be shared across both frameworks, can have it as a separate project, added to the web & UI ones
5. Similarly test data / configs should be in sharable format. My favorite is JSON structures & config files
6. Having both web & mobile tests within the same project might not be a bad idea either.
FYI – Google maintains one code repo for all products. But be careful, if you don;t structure your product well you’ll run into trouble – Make sure everything is loosely coupled
These are few on top of my head, anything else you can think of?
#RedefiningSoftwareQuality #TestAutomation #MobileAutomation #WebAutomation
Definition of Shift Left
What does shift left really mean?
Here’s my understanding and what it means to implement it:
Any activity to help us prevent or identify issues BEFORE someone spends dedicated time testing the change – Shift identification of issues & risks as early as possible.
I’d implement this by doing the following:
1. Have three amigo sessions before coding
2. Practice TDD & have decent unit test coverage
3. The developer and any other person on the team together test the change on the developers machine
4. Have quality gates on the pull request pipeline including static analysis, unit tests & component test
By the time engineers testing the feature start exploring in detail, most of the issues should have been fixed already.
#RedefiningSoftwareQuality #ShiftLeft #ContinuousTesting #DevOps
Digital workplace
An important part of transformations is building technical enablers.
Initiatives around Digital Workspace were been worked on with a lot of vigor at Emirates Group IT for some time
As a result of all that effort we were able to transition smoothly to working from home across the landscape
I had always taken this for granted, being IT professionals lot of these things are common place us
However the magnitude and scale at which large scale enterprises operates, ability to pull this off on such a short notice is an achievement.
Realized this today in a CTO listening session where Microsoft’s head UAE region was sharing his experiences post COVID19.
Bottom line, if you want to truly transform your team, you’ll have to build the technical enablers they need.
#Transformation #DigitalWorkplace
Competence & clarity
Building self autonomous teams is a key change in transformations,
And a key element in there is how to delegate decision making?
Typically enterprises have large groups of people with layers upon layers of decision makers
Decisions and actual hands on work are done in two different groups
As mush possible, decision making has to be delegated, and here are the two key components:
1. Competency. Develop the teams technical skills to have the background to make those decisions.
2. Clarity. Access to information and ability to process, to allow teams to have all the background information they need to make decisions.
Both are easier said than done, but without them the transformation will fail.
#RedefiningSoftwareQuality #QualityTransformation #Transformation #HighPerformingTeams
Technical and inter personal skills
For engineers technical skills are vital,
Unfortunately so are people skills, because ultimately we have to deal with humans.
And you’ll find every kind of them in a work environment.
Problems occur when an individual or organization neglects any one of these skills
Less technical skills will lead to weaker products with lots of issues,
Inadequate people skills will also lead to weaker products with lots of issues..
Because products are not built by one person, a group of ‘teams’ build them.
And successful teams have people who are good technical and inter-personal skills
And this will drive product quality.
#RedefiningSoftwareQuality #QualityTransformation
Automation framework
The word automation “framework” is sometimes used incorrectly.
Would you classify Selenium, RestAssured etc. as framework?
IMHO these are libraries, using which we develop frameworks.
Frameworks are built using a number of libraries like the ones mentioned.
There might be some common utilities of your own, some additional reporting you’d add along with a reporting library etc.
In general, a ‘framework’ IMHO will be something you build for your product using a number of libraries.
Linked article for further details:
Add automation ti your Definition of Done
Have you faced problems like not having enough time to test, or automation not being prioritized?
That means you don’t have your Definition of Done set right..
A story should be considered ‘Done’ only if the ‘Definition of Done’ has been completed.
Enough time to do exploratory tests & automating the important scenarios (Unit, API & UI) should be part of your definition of done.
If these activities are not taken up as part of delivery, then your accumulating technical debt
As your tech debt grows, so will your problems with delivery & quality.
And after some time, your product will be in a heap of mess with everyone scratching their heads about how to fix it.
#RedefiningSoftwareQuality #TestAutomation #Testing #Agile #DefinitionOfDone
Focus on important skills while hiring
Hiring automation engineers has always been a trick thing.
And the worst thing you can do is to add all the buzz words you know of around automation.
Finally when the candidate comes on board they end up doing exploratory testing only!
Here are few pointers for hiring:
- Look for programming aptitude.
- If your framework is in java, not necessary to hire someone with 10 years of Java experience
- Testing acumen.
- Are good in identifying risks
-
- While a can-do attitude is a must, for automation positions someone who ‘enjoys’ problem solving is required
More pointers in the linked article below
#RedefiningSoftwareQuality #TestAutomation #Automation #Hiring
Test case writing the Agile way
Have you felt writing and maintaining test case documents a drag?
Because they are…
The old school thinking was, dev write code, testers write test cases
I talk about:
- Why the traditional way of doing test case management is inefficient
- What is a better approach?
- How will this save more time
#RedefiningSoftwareQuality #QualityTransformation #Testing #TestCaseWriting
Planning Mistakes in Agile Transformation
I’ve noticed few common mistakes teams make in their transformation journey:
- Very detailed long-term planning.
- They have a target state in mind, and then start planning in detail every step of the way.
- Processes, procedures, day to day activities planned in detail
- That is the trap agile was supposed to free us from, we’ve learned we “can’t” plan long term accurately,
- So, don’t design intricate plans
- No long-term plan.
- Then you have teams who believe they are ‘truly’ agile and believe in not thinking more than 2 weeks ahead
- “If you don’t know where your going, chances are you may never get there”
- That too is very problematic, you’ll stay in fire fight mode if that’s the approach
So, what’s the middle ground?
- A) Have a long-term vision.
- Crystalize the vision so everyone knows where we want to go.
- That does not mean over documentation, it means start ‘living it’, should reflect from your actions
- B) Plan few weeks
- Do have an approach to how to get there, but make it very short-term and to the point
- That’s because it will change, you’ll try learn and then try something new
- Your plan to get there must ‘evolve’ along the way
- PDCA – Plan Do Check Act
#RedefiningSoftwareQuality #Transformation #Agile
Delivering quickly & definition of done
Releasing quickly and with less toil / effort allows you to:
1. Get feedback from customers quickly
2. Improves your product quality
3. Helps you earn more money, fast..
To start on this ‘cultural’ change, include all the right things in your DoD – Definition of Done.
And this should be the effect:
Top 3 KPIs for software development
The ultimate KPIs for software development?
Here are the top 3 I feel are important:
1. Defects from production – Severity and quantity.
– This should be the end goal that should matter.
– Most of the other quality KPIs like automation coverage % etc. are not the end goal,
– They are how good you are following ‘a process’, which may or may not achieve in the ultimate goal.
2. Mean bug identification time
– Average time taken to report bugs after code commit.
– This does not mean just JIRA tickets raised as bugs, automation results showing failures giving feedback too are included.
– This will capture how quickly we are giving feedback on code changes, which is a significant part of driving costs down.
3. Release cadence
– How quickly do we release a feature, starting from conceptualization till deployment into production.
– This should include all the lead time across all processes.
– The company that masters to speed this process will win, since they can adapt and change quickly looking at how customers respond.
There can be many other KPIs, I personally want to care about only these 3.
#RedefiningSoftwreQuality #DevOps #KPI #Automation
Learn to speak and listen
Some wisdom I learned about being an effective communicator:
Speak in such a way that others love to listen to you.
And
Listen in such a way that others love to speak to you.
Learning to speak is relatively easy. Learning to listen well is harder, and is more important.
In case your wondering, vital skill for improving your product quality..
#RedefiningSoftwareQuality #Communication #Collaboration
Assessments and interviews
Assessing skills of individuals is required. Be it academics, interviews, courses / certifications and so on.
IMHO most assessments are not optimally designed which creates a lot of problems…
My biggest issue: assessments are designed not based on what is practically done on a day to day basis, instead on theoretical, trick questions which are far from practical application.
Most of the time, that’s because perhaps these theory-based ones are easy to design and ensure you’ve ‘read’ the text.
I don’t endorse this even for academics, but in interviews especially I think these are just nonsense.
Judge the person on what practical value they will bring, or value they have delivered before.
Oh, BTW, I add test like ‘codility’ in this category too (when was the last time you needed to solve O(N Log N) for work???)
Automation training & risk based testing
In an automation training program I put together, introduced folks to learn about risk based testing.
While there is a lot that can be said about it, here are two main types of risk assessments:
Inside out risks:
– Look at how different components across your tech stack interact with each other
– Walk through the control structure (#STPA could be good tool) and highlight risks
Outside in risks:
– How your customer sees your application, from the outside in, the behavior of the application
– This is what usually testers are more focused on
It’s important for automation engineers to be good testers first, and therefore practice ‘testing well’
I am also perturbed when testers are unwilling to do ‘inside out’ risk assessment, IMHO mostly that’s due to lack of willingness to get into technical details.
Reference links in comments
#RSQ #Testing #RiskBasedTesting #RBT
Risk based testing: https://www.satisfice.com/download/heuristic-risk-based-software-testing
Mobility data & COVID19
Learn to generate, find and use data. For instance, this report from google:
https://www.google.com/covid19/mobility/
This data can be useful for a number of industries / organizations.
For governments, they can use it to find correlations between new COVID19 cases and mobility patterns across regions and to build policies to phase out lock downs slowly
Similarly for testers, having patterns of failures / issues of bugs from production & automation runs can be extremely useful to concentrate efforts on specific areas.
Case in point, data is the new currency – Generate it, find it and USE IT
#RedefiningSoftwareQuality #BigData #COVID19
Transformation and Waste
IT transformation projects might follow different models, and might have slightly different goals,
But at heart of each of them is : Eliminating WASTE.
I feel WASTE is not just a software development problem, but a challenge in everyone’s daily lives
It’s a bigger problem in software development for sure,
And hence number of practices evolved over decades to eliminate this waste.
– TQM / Lean manufacturing: Invest only on what’s required, do it right the first time (And a bunch of other stuff)
– Agile & scrum: To focus / develop what’s important
– DevOps: Develop enablers to push deployment faster
– Agile frameworks: To make organizations leaner
So if your transformation project isn’t ‘ACTUALLY’ eliminating waste, you are missing something.
#RedefiningSoftwareQuality #Agile #Lean #DevOps #EliminateWaste
Feature slicing across the tech stack
In BDD workshops I briefly talk about feature slicing. In a nutshell:
Slice features so every feature should be deployable independently.
For this to happen, slice you features ‘across’ the tech stack, NOT ‘along’ the tech stack. (See attached images)
This is a common mistake, and seems easier to work that way.
For instance, develop the UI first, then the back end / business logic.
The problem here, your not deploying quickly / in small chunks.
Might as well call this waterfall development, because then that’s what this becomes..
#RedefiningSoftwareQuality #Agile #FeatureSlicing #AgileTransformation