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
Testing is a critical skill when writing software using Copilot.
Closed-box and open-box testing are different approaches to ensuring the code is correct. In closed-box testing, we come up with test cases based on what we know about the problem; in open-box testing, we additionally examine the code itself.
Doctest is a convenient way to test your code by adding test cases to the docstring description of a function.
Creating artificial files is an effective way to test code that uses files.
Summary
本章小结
The text was updated successfully, but these errors were encountered: