Lesson 42. Web testing

 

This short lesson will round off our trip around testing in F#. You’ll learn about

  • Web testing, and where it fits into the testing landscape
  • Selenium
  • Canopy
  • Using Canopy for web automation

Often unit testing—even property-based tests—aren’t enough to test an entire system from end to end. Perhaps you’ve written code that has excellent test coverage against individual components, such as a class that calculates the interest on a loan payment, or perhaps across two or three layers—but then tested the real application and found that the interest that was calculated and saved to the database was incorrect. You need something that can ideally cover the entire spectrum of tiers within your application, yet you want this to run in a repeatable way.

42.1. Web automation with Canopy

42.2. Web tests with Canopy

Summary