Refactoring to BDD-like tests
Sometimes I found myself in a situation where it’s hard to understand what some components suppose to achieve. In these situations, I go to test where scenarios/contracts of this component should be.But then I find some integrations tests with some entries in DB and expected mechanical results.My strategy in this situation is to refactor test … Read more