November 2024
Intermediate to advanced
300 pages
7h 12m
English
The most important thing to remember when developing software with an LLM is you can’t trust the code it generates. The skills you obtained in Pragmatic Unit Testing in Java with JUnit, however, provide you with a basis for verifying the code. Consider always following the CAX cycle, as demonstrated in this chapter, for generating code:
Create both production code and tests when prompting the LLM, using (ZOM-inclusive) examples as the basis for the tests.
Assess the fidelity of the generated tests with the examples you provided.
e*Xecute the tests. Repeat the cycle (with alterations) if they don’t all pass.
Also, provide a small set of programming style guidelines to your LLM to improve the ...
Read now
Unlock full access