Testing with F#

Starting with an introduction to the concepts behind test automation, you will learn how to set up your test environment for unit testing and how to execute your test suite within and outside of Visual Studio. Using different test frameworks as MSTest, NUnit, and xUnit, you will learn how to write tests in isolation, create test doubles with Foq, and write expressive assertions with FsUnit.

You will learn techniques used to mock database contexts, test stored procedures, use migrations to test databases in isolation, control a web browser with Canopy, and test web services with F# interactive. You will learn how these techniques apply to Agile principles and discover how testing fits into your project.

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.

User Reviews

Average Rating: [0]

Submit Your Review

Display Name
Email
Rate

Title

Message


 

jQuery(function(){
jQuery(“.rateit”).rateit();
jQuery(“#wpdm-user-review-form”).submit(function(){
jQuery(“#wpdm-submit-review-button”).attr(“disabled”,”disabled”).html(“ Please Wait…”);
jQuery(this).ajaxSubmit({
success:function(res){
if(!res.match(/ok/)) {
jQuery(“#wpdm-user-review-form”).append(“

“+res+”

“);
jQuery(“#wpdm-submit-review-button”).removeAttr(“disabled”).html(“ Submit Review”);
} else {
jQuery(“#wpdm-submit-review-button”).html(“ Done!”);
jQuery(“#wpdm-user-review-form”).append(“

Thanks for your comment! It will be published after review within a short time

“);
}
}
})
return false;
});
jQuery(“#wpdm-submit-reply-form”).click(function(){
jQuery(“#wpdm-submit-reply-form”).attr(“disabled”,”disabled”).html(“Please Wait…”);
jQuery(“#wpdm-user-reply-form”).ajaxSubmit({
success:function(res){
jQuery(“#wpdm-user-reply-form”).append(“

Thanks for your comment! It will be published after review within a short time

“);
jQuery(“#wpdm-submit-reply-form”).html(“Done!”);
}
})
return false;
});
jQuery(“.reply-comment”).click(function(){
jQuery(“#wpdm-reply-for”).val(this.rel);
});
});

The post Testing with F# appeared first on ZEbook.

Read Source: Testing with F#»

Leave a Reply

Your email address will not be published.