You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Understanding the importance of testing Copilot code
Using closed-box versus open-box testing
Addressing errors by Copilot by modifying prompts
Viewing examples of testing code produced by Copilot
理解测试 Copilot 代码重要性
使用黑盒测试与白盒测试
通过修改提示词解决 Copilot 的错误
查看测试 Copilot 生成代码的示例
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.
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 修复不正确的代码。
本章目录
doctest
的测试doctest
面临的常见问题The text was updated successfully, but these errors were encountered: