Network Code Testing Framework
One important aspect when developing code is to add testing; we discussed and reviewed some code test strategies in Chapter 5, Do’s and Don’ts for Network Programming. But we have not investigated techniques that are unique to network automation, such as building a network testing environment where we can do some real testing with our network automation code.
This chapter will focus on techniques for building a network testing framework that can be used for testing your network automation code. We are also going to look into advanced techniques that can be added to make your testing framework even more useful and reliable.
Here are the topics we are going to cover in this chapter:
- Using software for testing
- Using device emulation
- Connecting devices for testing
- Using advanced testing techniques
By the end of this chapter, you should have enough information to build and use a testing framework that will add...