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

Foreword

Testing code: often considered to be one of the least appealing parts of a developer's working life, perhaps second only to trying to hunt down, replicate, and fix bugs in your code. We know we should probably test more thoroughly but deadlines are tight and there is always something more interesting to work on. Putting new bugs into the system is so much more fun than finding the ones that are already there, so we create a single-line sales order and sell a bicycle to Customer 10000 again.

Most of us are developers because we like writing code. We like learning about new techniques and technology. We don't like tracking down defects or re-testing code that we're pretty sure already works. What if we could write more code, learn some new techniques, spend less time chasing issues, and continually verify that our existing code still works? It's time to start writing and running some automated tests.

Over the last few versions of Microsoft Dynamics NAV, and now with Microsoft Dynamics 365 Business Central, the support for running automated tests has improved dramatically. Microsoft ships tens of thousands of tests with their standard products, and provide the tools for us to write and run our own. However, all of this can be a little daunting at first. Where do we start? What should we test? Besides, who has the time to pick these practices up alongside their other work? Aren't we going to increase our overall development time by writing tests? How could we integrate them into our everyday work? We're going to need a guide.

For years, Luc van Vugt has been blogging, speaking at conferences, and training Dynamics NAV / Business Central developers. It's been my pleasure to attend several of his courses in the past. As a former Dynamics NAV tester at Microsoft, he has especially championed the cause of automated testing, pushing the community and Microsoft to adopt better practices. He has written extensively about how to adapt and use the standard test toolkit to suit your needs and the needs of your customer.

In this no-knowledge-assumed book, Luc guides us through the various stages of testing your application. This will begin with translating your customer requirements into a series of unambiguous given-when-then scenarios that define and document the expected behaviour of the system, and then turning those scenarios into maintainable test code and running those tests to verify that your code still works as required.

Follow Luc as he guides us into the testing jungle and reassures us that the journey is manageable, will improve the quality of our code, and – say it quietly – may even be fun. Enjoy his relaxed and knowledgeable writing style, and get Hands-On with Automated Testing in Microsoft Dynamics 365 Business Central.

 

James Pearson?
Product Manager, Clever Dynamics.

主站蜘蛛池模板: 伊川县| 汾阳市| 广东省| 安国市| 宜都市| 潮州市| 衡阳市| 青川县| 丰顺县| 醴陵市| 东源县| 勐海县| 茶陵县| 苏州市| 延吉市| 九龙城区| 清涧县| 东兴市| 建平县| 丹江口市| 石楼县| 宕昌县| 尉氏县| 同心县| 瑞安市| 长武县| 虞城县| 沭阳县| 布拖县| 甘孜| 旌德县| 高州市| 阿克陶县| 宁化县| 蒙阴县| 扶风县| 麻阳| 精河县| 寿阳县| 四子王旗| 牡丹江市|