December 2017
Beginner
372 pages
10h 32m
English
Writing test cases for pipes is one of the easiest examples we can use to get started. The primary reason for this is that normally, pipes don't have external dependencies, which allows us to easily test the code logic without the worry of mocking.
We have one pipe function in our Sample Trello application, custom sort, so we will be writing test cases for this. You can review the custom sort code from our previous chapter, or look it up in https://github.com/sachinohri/SampleTrelloApplication.
Read now
Unlock full access