-
Book Overview & Buying
-
Table Of Contents
Supercharged Coding with GenAI
By :
Testing has been a focus of technology from the templates of “vintage AI” to the present time with GenAI. There has always been a tendency to write the code and eventually write the tests to make it acceptable to your organization. These new GenAI tools can definitely increase the velocity of the coding process. The verification process to check the code should not be just a one-time visual inspection but should involve unit tests that can be applied repeatedly to assert the correctness of the code.
The different GenAI solutions produce slightly different results, but we generally prefer GitHub Copilot for creating tests since the close integration with the code and iterative approach is easier using the single tool within the IDE, whether VS Code or PyCharm. By keeping similar test code open in the browser, accuracy and style improve due to the extra context.
Regardless of the particular GenAI tool used, it is critical to check the implementation...