Advertisement

Programming Fundamentals

  • Testing
    Unit Testing Succintly: Strategies For Unit TestsUnit testing
    65 shares
    Testing approaches depend on where you are in the project and your “budget,” in terms of time, money, manpower, need, etc. Ideally, unit testing is budgeted into the development process, but realistically, we often encounter existing or legacy programs that have little or no code coverage but must be upgraded or maintained. Read More…
  • Design Patterns
    Design Patterns: The Adapter PatternAdapter
    455 shares
    In the previous article we saw how the facade design pattern can be employed to simplify the employment of any large and complex system using only a simple facade class. In this article we will see how the adapter design pattern can be used when your code is dependent on some external API, or any other class that is prone to change frequently. This pattern falls under the category of "structural patterns", because it teaches us how our code/class should be structured in order to manage and/or extend them very easily.Read More…
  • Programming Fundamentals
    Refactoring Legacy Code - Part 11: The End?Refactoring wide retina preview
    189 shares
    Old code. Ugly code. Complicated code. Spagetti code. Jibberish nonsense. In two words, Legacy Code. This is a series that will help you work and deal with it. In our previous lesson we've learned a new way to understand and make code better by extracting till we drop. While that tutorial was a good way to learn the techniques, it was hardly the ideal example to understand the benefits of it. In this lesson we will extract till we drop on all of our trivia game related code and we will analyze the final result.Read More…
  • Testing
    Unit Testing Succinctly: Other PurposesUnit testing
    60 shares
    Unit testing is an important tool in the testing process. While integration and usability testing are often more customer-centric (reporting, milestones, verifying high-level requirements), unit testing is the first line of defense for a programmer, his or her team, and the team managers. If used judiciously (remember, you are not aiming to create thousands of pretty green lights), it can be a cost-effective way of verifying the computational correctness of the code and for re-creating bugs and verifying that they have been fixed.Read More…
  • Testing
    Unit Testing Succinctly: Advanced Unit TestingUnit testing
    30 shares
    In this article, we're going to begin talking about a few of the advanced topics that come with unit testing. This includes things such as cyclometric complexity, methods, fields, and reflection.Read More…
  • Testing
    Unit Testing Succinctly: NUnitUnit testing
    38 shares
    This articles discusses testing with NUnit and the attributes and assertions that it supports. NUnit 2.6.2 was used at the time of this writing. The description of the attributes and assertions here should be considered supplemental to the online NUnit documentation; however, in most cases the author has attempted to provide valuable supplemental information.Read More…
  • Testing
    Unit Testing Succinctly: Visual StudioUnit testing
    This article will discuss writing a unit test, covering the common attributes and forms of assertion found in unit test classes and methods.Read More…
  • Testing
    Unit Testing Succinctly: Testing BasicsUnit testing
    In this article, we'll take pause from our longer articles and have a brief discussion of the fundamentals of testing.Read More…
  • Testing
    Unit Testing Succinctly: Unit Test ToolsUnit testing
    In this article, we're going to take a look at a number of different tools that are available for us to use in our day-to-day work for writing unit tests. These include tools sufficient for .NET, Java, and more.Read More…
  • Testing
    Unit Testing Succinctly: How Does Unit Testing Work?Unit testing
    This article provides code examples of how this works, putting together a simple unit test engine. If you’re not interested in the under-the-hood investigation of unit test engines, feel free to skip this article.Read More…
  • Testing
    Unit Testing Succinctly: Look Before You LeapUnit testing
    The previous articles have touched upon a variety of concerns and benefits of unit testing. This article is a more formalized look at the cost and benefits of unit testing.Read More…
  • Testing
    Unit Testing Succinctly: Proving CorrectnessUnit testing
    There are many aspects of an application in which unit testing usually cannot be applied to proving correctness. These include most user interface features such as layout and usability. In many cases, unit testing is not the appropriate technology for testing requirements and application behavior regarding performance, load, and so forth.Read More…
Advertisement
Advertisement