Skip to main content

Development and test environments - on demand at the press of a button (That actually work!)

“Works on my machine!”

“Fails most epicly on my test system!”

“Oh, wait… it works on CI but fails in Test env 3.”

Sound familiar?

These sorts of conversations are thankfully a thing of the past. 

Wait, hold on - are you still having these sorts of conversations?

That's probably because you are working somewhere where the development, test, production & CI servers are being created by people, painfully, once.


Alexander the Great cutting through the Gordian knot of a particularly gnarly micro-service deployment.

You set up your laptop, you pray to the god of operating system patches and upgrades and hope that nothing ever changes (ever). You're gonna be the last person in the team to take that new Mac OS upgrade - let the rest of the team run through those mine fields first.

And the test systems? Last time you asked for a new one of those your programme manager ended up on new & stronger heart meds.

Luckily, there are tools that can help. 

Gitpod, for example, allows you to create a development environment every time you log on, or in fact whenever you want.

Gitpod has a number of useful features that together can make your lives easier. They are:

  • It provides an easy to use development IDE (it's a web version of VS Code, one of the most popular IDEs in the world).
  • A cloud based workspace with a command line terminal (Yes, Bash), and even a linux desktop if you need one.
  • Configure your whole development/test environment with standard Docker & Docker Compose commands to be built and deployed anytime.
  • Smooth integration with Github, GitLab or BitBucket. (Or you could even self host it)

Now that's a lot to digest. What it means in practice is that your team can create one template of how to set up your app.

You can then store that template in the code repository, along with the app and test code.

And when you need to fix a bug, code review a pull request or test the app you can just build the app and the whole supporting environment in the cloud and on demand (it takes seconds).

Tools like Gitpod have the potential to save teams a massive amount of time lost to misconfiguration, confusion and the laborious work of creating and keeping environments in sync. You don’t realise how much time is lost in the setup and untangling of the Gordian knot that constitutes the average development environment - until it disappears.


Comments

Popular posts from this blog

Can Gen-AI understand Payments?

When it comes to rolling out updates to large complex banking systems, things can get messy quickly. Of course, the holy grail is to have each subsystem work well independently and to do some form of Pact or contract testing – reducing the complex and painful integration work. But nonetheless – at some point you are going to need to see if the dog and the pony can do their show together – and its generally better to do that in a way that doesn’t make millions of pounds of transactions fail – in a highly public manner, in production.  (This post is based on my recent lightning talk at  PyData London ) For the last few years, I’ve worked in the world of high value, real time and cross border payments, And one of the sticking points in bank [software] integration is message generation. A lot of time is spent dreaming up and creating those messages, then maintaining what you have just built. The world of payments runs on messages, these days they are often XML messages – and they ...

Don't be a Vogon, make it easy to access your test data!

 The beginning of the hitch-hikers guide to the galaxy leads with an alien ship about to destroy the Earth, and the aliens saying we (mankind) should have been more prepared – as a notice had been on display quite clearly – on Alpha Centauri the nearby star system, for 50 years. Seriously, people - what are you moaning about – get with the program?  The book then continues with the theme of bureaucratic rigidity and shallow interpretations of limited data. E.g. The titular guide’s description of the entire Earth is one word: “Harmless”, but after extensive review the new edition will state: “Mostly harmless”. Arthur Dent argues with the Vogons about poor data access This rings true for many software testing work, especially those with externally developed software, be that external to the team or external to the company. The same approaches that teams use to develop their locally developed usually don’t work well. This leads to a large suite of shallow tests that are usually h...

Can 'reasoning' LLMs help with recs data creation?

  A nervous tourist, glances back and forth between their phone and the street sign. They then rotate their phone 180 degrees, pauses, blink and frown. The lost traveller, flags a nearby ‘local’ (the passer-by has a dog on a lead.   “Excuse me…” she squeaks, “How may I get to Tower Hill?” “Well, that’ s a good one” ponders the dog walker, “You know…” “Yes?” queries the tourist hopefully. “Yeah…” A long pause ensues then, “Well I wouldn’t start from here” He states confidently. The tourist almost visibly deflates and starts looking for an exit. That’s often how we start off in software testing. Despite the flood of methodologies, tips on pairing, power of three-ing, backlog grooming, automating, refining and all the other … ings ) We often find ourselves having to figure out and therefore ‘test’ a piece of software by us ing it. And that’s good. Its powerful, and effective if done right. But, like our dog walker, we can sometimes find ourselves somewhere unfamiliar...