Skip to main content

Software Test Automation in Uncertain Times

(A dystopian sense of humour required)
I hear the science supports this.  Then I hear the science supports that.  I hear these things day after day and, eventually, I conclude the science supports whatever the government wants the science to support.  The truth is therefore whatever you are being told, or is written on the side of a bus, or a promise made but now denied and erased.  It all has a dystopian hallmark as government clumsily attempts to modify and direct unruly human behaviour, on a grand scale, in this direction or that.  

The above was a working bit of script, by the way.  Names have been changed to obscure customers and obfuscate certain semantics and product.  The whole thing builds on a (by now) three year project to upskill and have something a moving skillset compared to the something of a static skillet that had carried me for the better part of twenty years.
Gluing (excuse the pun) Gherkin, to meagre Java and Selenium skills, developed in Paris on the kind business trip I'd like to do more often.  In the French speaking world, my work is more likely to take me to Lomé, Abidjan or Kinshasa.  Far outside of the centre of the City of Light, I needed something to fill my evenings at what turned out to be a bit of a truck stop hotel in a city of very full hotels.  Thank you Roland-Garros, and may you return with a full-on, post pandemic vengeance in 2021! 

Fortunately, on a two week business trip, I had a long weekend,  allowing me to indulge in my other passion.  And what a weekend it was!  
Under lockdown and since, I've had a spare two hours and thirty minutes per day to play with, thanks to commuting no more,  allowing me to develop and refine.  I'd encourage anyone working in tech to do the same.  

Aspects of Gherkin still confuse and bemuse though.  For a simplified version of English, it sometimes seems to attract more dogma than a church.  Some of it I get, as I'm quite used to setting up test cases in an orthodox manner, so in Gherkin I see elements of pre conditions, test conditions, expected outcome and so on, but not as formalised.  Some existing test cases actually transfer quite well.

As for the underlying stuff, it's been an adventure in avoiding code maintainability traps.  Those are tricky buggers, usually caused by me thinking of better ways to do stuff.  Modelling a web page on a given system under test can be faster than writing Gherkin to test it, which is the exact test I had in mind when I started drawing and scribbling, manically, on a sheet of A3, while downing a half decent glass of French red, in the middle of a Paris business park, at a truck stop hotel.
A church, because, see above.

© 2020 Jason Hindle

The photos?  Taken with an Olympus OMD-EM1 mk 2 and 12-40 f2.8.  When Olympus announced they are throwing in the towel, I did consider selling both, for less than a second.  I have cameras that take technically better images, but this is the the most well rounded camera body I've owned.

Comments

Popular posts from this blog

Shrinking Horizon/Shifting Horizon

(Pandemic, demagogy and geopolitics collide) A friend has an Uncle who, in the early 1970s, won the Pools and went and travelled the world.  Postcards sent home include one from Afghanistan, taken soon after crossing the border from Iran.  That's two countries most people wouldn't think of visiting, right now, and a border most would would rather not cross.  And postcards from Afghanistan!  Do such things still get made? I've been to Hong Kong on three occasions.  Thanks to unrest, Hong Kong had ceased to be a tourist destination before the pandemic emergency.  Fast forward to today, and I don't know when/if I'll be going back to this favourite (and most photogenic) city. I've been to mainland China once.  I have a friend who lives and teaches in Shanghai.  I have a multiple entry visa, valid through to August 2021.  That visa wasn't cheap, so I'd rather it didn't go to waste.  Likewise, I don't know when/if I'll be going back to China.  Once

Fix Windows DHCP Issues In Parallels?

(Here's one weird trick to get it working) Problem and Solution For me, this is something of a blast from the past.  I first had Windows DHCP issues using a Windows 8 Tablet, on an unreliable hotel connection in Zim, quite some time ago.  I've never had any real issues since, until I got Parallels up and running, on my M1 MacBook Air, with a Windows Insider ARM build.  The problem looks like this: Instead of the typical 192.168.x.x address we get from a normal router, there is is this self assigned 169.254.x.x address and and, from an IPv4 perspective, the computer isn't on the network.  Fortunately, what worked for me on Windows 8, all those years ago, works today on Windows 10.  It is this: Firstly goto settings and then Network and Internet Settings: Then continue as indicated below: Now we enter our IP details, manually.  The settings below are for a BT Smart Hub where the lower range of addresses is reliably ignored by the router's DHCP function.  Finding out what