Agreed - reading tests is one of my first steps. It helps that (hopefully) they're written with both a positive assumption (i.e. passing valid arguments) and negative assumptions (i.e. passing invalid arguments). It's quick to get a sense of what the code is supposed to do.
There was a time where I went deep in the rabbit hole in the specs of the codebase...turned out the specs were way out of date π
At risk of going on a slight tangent, do you use rg with VIM? I've read mixed reviews about switching away from silver searcher with VIM which has made me hesitant about switching at all π€
Agreed - reading tests is one of my first steps. It helps that (hopefully) they're written with both a positive assumption (i.e. passing valid arguments) and negative assumptions (i.e. passing invalid arguments). It's quick to get a sense of what the code is supposed to do.
There was a time where I went deep in the rabbit hole in the specs of the codebase...turned out the specs were way out of date π
At risk of going on a slight tangent, do you use rg with VIM? I've read mixed reviews about switching away from silver searcher with VIM which has made me hesitant about switching at all π€
I use
rg
in the terminal. My editor of choice is Sublime Text 3 (its builtin search is a bit slow)