Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 22. Unit Testing with FlexUnit > Use Complex Assertions in a Test Case

recipe 22.9. Use Complex Assertions in a Test Case

22.9.1. Problem

You need to do complex pattern matching in your test case.

22.9.2. Solution

Use the matching functions defined by the Hamcrest library to create complex assertions.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial