Is PowerMock really necessary? Mockito? Even EasyMock? Let’s revive old fashioned plain-code test doubles as a viable alternative, even right alongside other tests that are using mock frameworks. In a new article published over at DZone, I show an example where I think the test without Mockito usage is clearer.
Please check out my latest contribution to The Dev Community at Dev.to: Five Reasons to Take Code Coverage With A Grain of Salt.
Shell script time-savers are handy. Why? They give you time to focus on important things rather than tedious yak shaving. The time it takes to write a little script is hardly anything compared to the time it saves.
No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
Last time I provided some quick shell script time-savers. The goal of automation is saving time and providing focus on important things rather than tedious yak shaving. The time it takes to write a little script is hardly anything compared to the time it saves.
So here are some more useful tips including how to list folders by size, read and verify user input, and find files by date, loop over them and apply a command (like mv or rm) . . .