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.

128 Articles match "Unit Testing"

  • The Latest from DevelopMentor

    128 Results found
    Showing page 1 of 13   Next >

  • How do I make testing faster?
    Later in the day I found myself in conversation with two people concerned about software testing. They posed the question: “How do we make testing faster?” Specifically, how do we make SIT (“System Integration Testing”) and UAT (“User Acceptance Testing”) faster? The solutions we came up with were: More testing environments : it is shocking how often I hear testers say they do not have enough test environments. There are two answers: either increase the number of test environments or reduce the number of test and testers. Now the catch.
    Allan Kelly's Blog - Thursday, June 26, 2014
  • What's new in ApprovalTests.Net v3.6
    Now you can write a simple test that will prevent this Asp Scrubbers It''s great that ApprovalTests can so easily capture web pages, but it can still be hard to get those pages as consistent as a Unit test needs them to be. Here''s an example to remove the GUID used by asp for forms SimpleLogger.Mark SimpleLogger is a easy way to both capture behavior for locking test as well as see performance data for simple profiling but it was also hard to get everywhere a method would exit. Here''s the Testing Logic and here the code to test it.
    DevelopMentor Courses - Wednesday, June 18, 2014
  • Duplication and Cohesion
    Many unit test scenarios fall into this area, which is one reason you might end up with higher duplication in your test code. You didn''t test, you didn''t even know what the expected user behavior was, you certainly didn''t look at the code. 'A lot of the conversation around removing duplication goes something along the lines: "remove duplication" The idea is there is a a scale and your code should be on the low duplication side of it. Unfortunately, this is only half the story. My sister''s last name is also ''Falco''. PHP systems tend to have high duplication.
    DevelopMentor Courses - Sunday, June 8, 2014
  • 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
<< 1 2 3 ... 12 13 >>
%>