From the course: Beyond Vibe Coding with Google Gemini: Become a Deliberate Developer
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Prompt and iterating with Gemini - Gemini Tutorial
From the course: Beyond Vibe Coding with Google Gemini: Become a Deliberate Developer
Prompt and iterating with Gemini
- [Instructor] Welcome back. In the last video, you used Gemini to generate an amazing comprehensive test suite. The result was this beautiful wall of red. We have a clear, detailed set of requirements, all in the form of failing tests. We also just wrote the simplest possible test case to make one of the tests pass, and we can see it passing here. But now what? We could manually code our way through the rest, but as deliberate developers, let's use our tools effectively. We can see how we can work with Gemini to turn all of these tests green, and then we'll refactor our code for quality. So, let's switch to Gemini. Our goal is to get to that green phase. We want to write code that satisfies our tests. Now, I'm not asking for perfect code, I'm asking for passing code. So, I'll prompt Gemini by giving it our context. The code that we have so far, which is my simple parsing thing, as well as the full set of tests that it needs to pass. I don't have them yet. I just have the prompt…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.