Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Testing with f#
  • Table Of Contents Toc
Testing with f#

Testing with f#

By : Mikael Lundin
3.7 (3)
close
close
Testing with f#

Testing with f#

3.7 (3)
By: Mikael Lundin

Overview of this book

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 (12 chapters)
close
close
11
Index

Continuous integration

Two of the largest risks of having tests is that they will not be run or even pass. This is what will happen if you have a test suite without experienced developers maintaining it. In this case, it will no longer bring value, but only baggage. A test suite that is not used and doesn't pass is a waste and should either be fixed or deleted.

I was once working on quite an advanced order flow. To maintain its quality by myself, I covered the solution with tests knowing that if my tests were green, the code would work as expected.

I handed over the code to a maintenance team and after six months, they called me up asking me to fix the code. They were going to make some changes, and when they did, the price calculation no longer matched up. "So, are the tests passing?" I asked them. It turned out the developers had inactivated the test suite when the first test turned red.

It is easy to avoid this by having continuous integration run the tests every time code...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Testing with f#
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon