Grep with surrounding lines


Yesterday I wanted to find a maven dependency in my project, that itself depended on another dependency, which had a security issue and needed updating. The command mvn dependency:tree displays the whole dependency tree, but in a large project it takes a while to find what you're looking for. So I grepped the result mvn dependency:tree | grep "<name>" which confirmed the dependency was… [read more →]

Usages for the Linux "watch" command


Today I learned about the watch command in Linux. It's a brilliant tool for command line monitoring. Basically, it just executes a command repeatedly and displays its output in a readable format. Examples Watch your wi-fi network traffic watch ifconfig wlan0 Watch free memory watch free Watch a directory For example when downloading files watch ls -lt ~/Downloads Switches Set the interval with -n… [read more →]

The Three Amigos

During an Agile Testing workshop I learned about the Three Amigos concept and Example Mapping, two interesting ideas for creating better acceptance criteria for user stories. I'll talk about the Three Amigos now and about Example Mapping later on. Origin and definition Borrowing the title from the 1986 Steve Martin comedy, in the agile context Three Amigos means the continuous collaboration of … [read more →]