image processing expert, and software quality fanatic. • https://gleb.dev • https://github.com/bahmutov • https://slides.com/bahmutov • https://youtube.com/@gleb Sr Director of Engineering
tests do we have?” • “We received a bug report, is the search service working correctly?” • “I have opened a PR for the search service, I need to test it”
that there are no hard-coded magic numbers. Prefer using named constants. - do not allow unreachable code - check each HTML element that shows any unique application data, like prices, values, names, address, etc to have a `data-testid` attribute to be used in end-to-end tests. If the attribute is missing, add a `data-testid` attribute with a meaningful value. Also add `data-testid` attributes to the top level forms, pages, large components.
• Sometimes works for smaller inline coding • Hard to express all application knowledge as context for each prompt • Long waiting loops • Human review is hard
• Sometimes works for smaller inline coding • Hard to express all application knowledge as context for each prompt • Long waiting loops • Human review is hard Review • AI can help debug simple problems • Works well explaining and fixing edge cases with specific tools and languages • Copilot reviews work well
• Sometimes works for smaller inline coding • Hard to express all application knowledge as context for each prompt • Long waiting loops • Human review is hard Review • AI can help debug simple problems • Works well explaining and fixing edge cases with specific tools and languages • Copilot reviews work well “Picking” • Works really well for “pick the text most similar to X”, example is picking the appropriate test tags