Have a personal or library account? Click to login
Testing with f# Cover

Testing with f#

Deliver high-quality, bug-free applications by testing them with efficient and expressive functional programming

Paid access
|Sep 2025
Product purchase options

Key Features

    Book Description

    If you are a developer who wants to test applications using F#, this is the book for you. Basic experience of testing and intermediate experience of functional programming in F# is expected.

    What you will learn

    • Set up a test environment in your code base
    • Write unit tests, integration tests, and functional tests for F# applications
    • Leverage tools such as FsUnit, Foq, Canopy, and TickSpec to run tests both inside and outside your development environment
    • Maximize the productivity of your test code using the language features of F#
    • Extract dependencies to databases, web services, and other IO bound operations
    • Test your applications using executable specifications on a web browser
    • Discover the best practices for developing a sustainable test suite

    Who this book is for

    If you are a developer who wants to test applications using F#, this is the book for you. Basic experience of testing and intermediate experience of functional programming in F# is expected.

    Table of Contents

    1. The Practice of Test Automation
    2. Making Functional Code Testable
    3. Setting up your Test Environment
    4. Unit Testing
    5. Integration Testing
    6. Functional Testing
    7. The Controversy of Test Automation
    8. Testing in an Agile Context
    9. Test Smells
    10. Ten Commandments of Test Automation
    https://github.com/packtpublishing/testing-with-f
    PDF ISBN: 978-1-78439-441-7
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 286