The act of communication infers that multiple parties are going to be working in unison with each other. This fact suggests that the unit testing processes that have been taken so far in this book will not suffice. When testing multiple directives together, it is common to use integration testing.
Note
Integration tests can be provided by the tools used in all of the tests previously written in this book.
The use of multiple modules together to prove specific use cases is considered an integration test. Testing multiple directives working in collaboration with each other is expected when proving communication between directives is working properly. To accomplish this, multiple directives need to be integrated and compiled together. The integration in this book is referring to the creation of an element that has multiple directives appended to each other inside of a containing element. This type of integration is how all of the integration tests...