TDD on an existing project
This one comes up onsite: "how does your team use tests today, and how would you follow TDD on a real project?" Answer it around a realistic way to bring TDD into an existing app that already has a lot of code.
This one comes up onsite: "how does your team use tests today, and how would you follow TDD on a real project?" Answer it around a realistic way to bring TDD into an existing app that already has a lot of code.
On an existing app, start test-first with bug fixes and new logic instead of a full TDD rollout. Write the failing test that reproduces each bug report first, and hold Red-Green-Refactor for new features at the view model or use case level so the team feels the benefit early.
TestingShort answerIntro
What's the difference between unit tests, integration tests, and UI tests?
#ui-test
TestingShort answerBasics
Why do you split test code into Arrange-Act-Assert (Given-When-Then)?
#tdd
TestingShort answerAdvanced
You have dozens of UI tests that are slow and break often. How would you restructure the…
#ui-test
TestingMultiple choiceBasics
Which statements about code coverage are correct? Select all that apply.
#coverage