It looks soooo basic that the Spring documentation thought it deserves one single row of text – which I quote here:Continue reading
I programmed once this handy tool to retrieve one-time passwords (too much insider knowledge for opensourcing it) and as soon as some teammates heard about it, they asked for a copy to spare them the zillion clicks the password generator needs. But… the tool existed only as a Maven project in my development environment 😦
(This is part 2, some learnings a few weeks into the project described here: Integration tests = Cucumber + Selenium + Spring Boot)
Use the fluent wait instead of anything else, like here waiting for the expected messages to appear. Continue reading
Let’s say you had this web application with nice unit tests covering the backend calculations, where people keep calling wrong calculations from the frontend. Microservices or not, it happens, so you’ll need proper integration testing. Let’s say the integration testing is a well documented but tedious two days job of clicking around. Understandably, everybody does their best to avoid it…
My answer was: how about we rewrite the integration test scenarios in the Gherkin almost-human-readable language, so we can use Cucumber to run them automated, simulating with Selenium the user browser actions! The supporting stack will be Java and Spring, actually Spring Boot, because you know all I have is a hammer….
One of these days I decided to give a try to an opensource project which happens to run only on Linux. This sounds like nothing special unless your development machine happens to be Windows 7 and you don’t want to bother with downloading and maintaining virtual images. True, Vagrant would be a good option but getting it (and VirtualBox) to work with my enterprise-grade proxy access is a real PITA. Add to that the less-than-maintained vagrant-proxyconf plugin and the zillions of tools every one with own config files for proxies (gradle, git, maven, you-name-it)… Not at least, a local virtual machine is local and we’re heading to a cloud-based society right? So, AWS to go! Continue reading
My huge archive of Lotus Notes emails started almost ten years back, and I stubbornly kept most of it around because of why not. Now that I use Outlook 2013 you can imagine I would have liked to have all of them also in my brand new email client. One sure could get some commercial software to do it, but why shouldn’t I try converting them myself? I mean, look, a simple drag and drop from Notes creates in Windows Explorer EML files and we all know EML is a very much standard format (RFC822 or so). Or at least that’s what I thought – Outlook 2013 thinks differently and will not import EML files. Only Outlook Express or Microsoft Live Mail can do that, but who cares about these anyway?? So what are my options?
Last Friday I attended the “Software Craftsmanship and Testing” conference. I said “last Friday” because it lasted only one day, unlike the typical 3 days format (including night stays)… but for me it was just enough, I cannot really afford the extended versions. This event brought together about 50 folks with all possible backgrounds – developers .net, Java, JS, but also devops people… really, everything. The “unconference” format meant at the beginning whoever wanted to propose topics did so by placing a note on the schedule table, and explained in a few words what his discussion topic is. Continue reading