cssmagic / Learn-AI-Assisted-Python-Programming

📖 《AI 辅助编程》这本书的大本营。
137 stars 13 forks source link

[译] [600] 第六章 程序测试与提示工程 #12

Open cssmagic opened 6 months ago

cssmagic commented 6 months ago

6 Testing and Prompt Engineering

第六章 程序测试与提示工程

This chapter covers

本章内容概要

In Chapter 3, we first started to see the importance of testing the code produced by Copilot. Testing is an essential skill for anyone writing software because it gives you confidence that the code is functioning properly. In this chapter, we’ll learn how to test our code thoroughly and how to help Copilot fix code that doesn’t work by modifying our prompts.

在第三章,我们初次体会到测试 Copilot 生成代码的重要性。对于编写软件的人而言,测试是一项必不可少的技能,它能够让开发者对代码的正确运行有足够的信心。在这一章中,我们将学习如何对代码进行彻底的测试,并且了解如何通过调整提示词来帮助 Copilot 修复不正确的代码。


本章目录


本章正文略。如需阅读,请购买正版。


cssmagic commented 1 month ago

👉 想要更多译稿预览,请前往 总目录 中按章节阅读。