原书出处
Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)
Specific and holistic assertions To illustrate these ingredients, let’s take a look at a positive and a negative example of a test. We’ll show more sophisticated tests in the next section, but for now a simple example will help us focus on the characteristics of a good test: # good example def test_convert_keys_to_snake_case_for_keys_with_spaces_or_punctuation(): # arrange (provide input conditions) user_details = {"Job Description": "Wizard", "Work_Address": "Hogwarts
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch05.html
EPUB SHA-256:d98501f374a474910f195f0adfd53c1d895ae8ddc5822476c05cd7ba006ac63d