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

Chapter 15. Unit Testing > The Process of Unit Testing

The Process of Unit Testing

Whether Harness2 is used to create test harnesses or they are coded by hand, the process of actually performing the test is the same. Variables required by the fuse are set in the test harness, and the test harness is called in a browser.

It might seem that if the fuse runs successfully, the test is complete and the coder can move on to another fuse. However, it’s important to examine the fuse’s Fusedoc for indications of how the fuse’s inputs might vary, and run additional tests accordingly. For example, the Fusedoc might specify that if a certain input variable is above a given value, one output variable should be created; if the input variable is below the value, a different output variable should be created. Both of these scenarios should be run through the unit test.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint