官术网_书友最值得收藏!

Preface

Automated tests are a very important tool in a developer's tool belt. Having a set of automated tests not only increases productivity and software quality; it also works as a safety net for developers and gives confidence in relation to code refactorings. Python comes with a standard unittest module that is used to write automated tests, but there's an alternative: pytest. The pytest framework is simple to get started with, and scales from simple unit tests all the way through to complex integration testing. It is considered by many to be truly Pythonic in its approach, with simple functions, plain asserts, fixtures, plugins, and a whole plethora of features. More and more developers are adopting a full testing approach, so why not use a framework that is both simple and powerful and considered by many to be a true joy to use?

主站蜘蛛池模板: 岑巩县| 九台市| 舒兰市| 大安市| 高州市| 格尔木市| 韶山市| 固安县| 玛纳斯县| 葵青区| 大城县| 工布江达县| 孟村| 灌阳县| 奉化市| 西贡区| 房产| 白玉县| 义乌市| 乐至县| 平度市| 台南县| 高要市| 河北区| 米林县| 睢宁县| 巴南区| 高淳县| 吉林市| 连云港市| 大同市| 海晏县| 寿阳县| 田林县| 兴城市| 昌黎县| 白山市| 大关县| 巴马| 河北省| 中山市|