browse.develop.com
Browse.develop.com is a community that was established to collect and organize valuable web information. Our technical staff have selected and indexed information and courses that they feel will help you stay current on best practices across the SDLC.

125 Articles match "Unit Testing"

  • The Latest from DevelopMentor

    125 Results found
    Showing page 1 of 13   Next >

  • Notes to students doing research about Agile
    You might do it quantitatively by composing one of those surveys that asks people to choose between answers, e.g. “Under pressure to ship more often which are you most likely to do: a) make your stories smaller, b) offer financial incentives to the team, c) reduce unit testing, d) increase unit testing”. 'The dissertation/thesis writing season is approaching so I expect the recent set of questions from a student is the first of many. Actually they occur all year round but March to September is the busy period. Lets start with the request itself. Agile is not binary.
    Allan Kelly's Blog - Thursday, March 27, 2014
  • Index of posts on the RAW stack
    'Introducing the RAW stack Creating a basic skeleton with the RAW stack Refactoring the AngularJS code in the RawStack Unit testing the AngularJS code in the RAW Stack Unit testing AngularJS HTTP requests in the RAW Stack Unit testing the WebAPI controller and RavenDB database in the RAW stack Using dependency injection with WebAPI in the RAW stack Paging data using AngularJS and RavenDB in the RAW Stack Using Bootstrap with the RAW stack The RAW stack and filtering movies by genre Using Bootstrap to make the movies list responsive. RawStack
    The Problem Solver - Sunday, March 23, 2014
  • Index of posts on the RAW stack
    'Introducing the RAW stack Creating a basic skeleton with the RAW stack Refactoring the AngularJS code in the RawStack Unit testing the AngularJS code in the RAW Stack Unit testing AngularJS HTTP requests in the RAW Stack Unit testing the WebAPI controller and RavenDB database in the RAW stack Using dependency injection with WebAPI in the RAW stack Paging data using AngularJS and RavenDB in the RAW Stack Using Bootstrap with the RAW stack The RAW stack and filtering movies by genre. RawStack
    The Problem Solver - Sunday, March 23, 2014
  • Using dependency injection with WebAPI in the RAW stack
    'In the previous blog post we added some unit tests that tested the WebAPI and also included the RavenDB storage behind it. As I explained the recommendation is not to use fakes or mocks but just to use the in memory variant of RavenDB during testing. And that is the kind of hard coupling we would prefer not to have even if we don't need to create a fake for our tests. Updating the unit tests. Changing the MoviesController means we have to update our unit tests. 1: public class MoviesController : ApiController. 11: {. 16: {.
    The Problem Solver - Friday, March 7, 2014
  • Using dependency injection with WebAPI in the RAW stack
    'In the previous blog post we added some unit tests that tested the WebAPI and also included the RavenDB storage behind it. As I explained the recommendation is not to use fakes or mocks but just to use the in memory variant of RavenDB during testing. And that is the kind of hard coupling we would prefer not to have even if we don't need to create a fake for our tests. Updating the unit tests. Changing the MoviesController means we have to update our unit tests. 1: public class MoviesController : ApiController. 11: {. 16: {.
    The Problem Solver - Friday, March 7, 2014
  • Unit testing the WebAPI controller and RavenDB database in the RAW stack
    'In the previous post we added unit tests for the AngularJS code running on the client. And while these tests are important there is more to test. In this post we are going to add unit tests for those two. And the dependency is then based around interfaces so a dependency can be faked during testing. And because we are already using the EmbeddableDocumentStore that loads its connection info from the application configuration file all we need to do is specify the appropriate connection string for our unit tests. 8: [TestClass].
    The Problem Solver - Monday, March 3, 2014
  • Unit testing the WebAPI controller and RavenDB database in the RAW stack
    'In the previous post we added unit tests for the AngularJS code running on the client. And while these tests are important there is more to test. In this post we are going to add unit tests for those two. And the dependency is then based around interfaces so a dependency can be faked during testing. And because we are already using the EmbeddableDocumentStore that loads its connection info from the application configuration file all we need to do is specify the appropriate connection string for our unit tests. 8: [TestClass].
    The Problem Solver - Monday, March 3, 2014
  • Unit testing AngularJS HTTP requests in the RAW Stack
    'In the previous blog post we created some basic unit tests for the AngularJS movies controller. As I mentioned there was one set of tests missing and that was around the controller doing HTTP requests to the WebAPI backend. In a unit test typically don't want to do those test for real. Fortunately AngularJS makes it easy to fake those requests and test the controller bits in isolation. which contains a number of things for our tests. Testing the HTTP requests The unit tests are quite simple. 13: $scope: scope.
    The Problem Solver - Friday, February 28, 2014
  • Unit testing AngularJS HTTP requests in the RAW Stack
    'In the previous blog post we created some basic unit tests for the AngularJS movies controller. As I mentioned there was one set of tests missing and that was around the controller doing HTTP requests to the WebAPI backend. In a unit test typically don't want to do those test for real. Fortunately AngularJS makes it easy to fake those requests and test the controller bits in isolation. which contains a number of things for our tests. Testing the HTTP requests The unit tests are quite simple. 13: $scope: scope.
    The Problem Solver - Friday, February 28, 2014
  • Unit testing the AngularJS code in the RAW Stack
    However we didn't actually start writing any tests yet so lets create a few tests. The AngularJS controller under test Just as a quick reminder the AngularJS controller in our previous code was as follows 1: ( function () {. What do we want to test. The first thing we need to think about what to test. There isn't really a lot of application logic here so there is not much to test on that front. With JavaScript there is no compiler to validate this so it makes sense to create small unit tests that check our public interface. Try it.
    The Problem Solver - Saturday, February 22, 2014
<< 1 2 3 ... 12 13 >>
%>