| |
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.
|
15 Articles match "2011","Unit Testing"
| Related DevelopMentor Courses | MORE | | Test-Driven Cameras wish people had this same reaction to the idea of writing code without first writing tests (TDD). Tests give you the chance: To see what you are going to write, BEFORE you write it. If you haven’t already, here’s a great place to start learning to Test-Driven Development ? If you are already writing tests, here’s a free library to make test even easier to write? Unit Testing TDDI am getting old. The other day I was hanging around with my friend, Ike Ellis. He told me a story about his kids. The first question they asked was “Where is the picture?” DevelopMentor Courses - Wednesday, September 7, 2011 Guerrilla.NET (UK) Training Create robust code using unit testing frameworks and mocking Simplify your service deployment with zero config services with WCF 4.0. Write modern web applications that are simpler to unit test with ASP.NET MVC. Unit Testing Using unit testing comprehensively within software development is a growing movement. Unity testing allows refactoring and maintenance with the confidence that existing functionality is not broken. Leverage new features of C# 4.0, including named and optional parameters and dynamic typing. couldn't? Since.NET 1.0, DevelopMentor Courses - Tuesday, March 1, 2011 Guerrilla.NET (US) Training DI/IoC : Use powerful OO design patterns and techniques to build loosely-coupled, testable, and maintainable applications including Dependency Injection (DI), Inversion of Control (IoC), and unit testing. DI/IoC : Use powerful OO design patterns and techniques to build loosely-coupled, testable, and maintainable applications including Dependency Injection (DI), Inversion of Control (IoC), and unit testing. C# : Leverage new features of C# including asynchronous methods from C# 5.0, dynamic typing from C# 4.0, and LINQ and lambda expressions from C# 3.0. and jQuery. DevelopMentor Courses - Tuesday, March 1, 2011 |
19 Articles match "2011","Unit Testing"
| The Latest from DevelopMentor | MORE | | Devweek 2012 Andy will be covering the new async functionality of C#5, highlighting how you now write both ui and server side code to consume and enable the use of these new wonderful keywords, and doing a whole day of threading as a pre con on Monday Kevin will be presenting a day of building MVC applications, along with a session on unit testing. Rich will be covering topics from Whats New in WCF 4.5, and the ever cool Reactive Framework, and a deep dive into the GC, something all developers should have intimate knowledge of. Hopefully see you there with what should be a fun pact week DevelopMentor Courses - Thursday, November 24, 2011 Peeling Back the Onion Architecture MVC (which stands for Model-View-Controller) lends itself to an Agile development methodology where TDD and BDD (Test-Driven and Behavior-Driven Development) are important components. Writing applications that are testable requires that you separate business logic from presentation logic so that they can be independently tested. Representing your repositories and services as interfaces decouples consumers from concrete implementations, enabling you to swap one out for another without affecting consumers, such as client UI’s or tests. Download the code for this article. Tony and Zuzana's World - Saturday, October 8, 2011 Build a Multi-Project Visual Studio Template good example is the SimpleMvmRiaServices project template shown in the first screenshot, which generates a Visual Studio solution with three projects: an ASP.NET Web project, a Silverlight client project, and a Test project for unit tests. Next, make sure to sign your wizard assembly, using a test certificate if you like, and then obtain the public key token by opening a Visual Studio command prompt at the location of your wizard dll and entering the command (replace WizardAssembly with your dll file name): sn –T WizardAssembly.dll. saferootprojectname$.Entities Tony and Zuzana's World - Wednesday, September 14, 2011 | -
| The Best from DevelopMentor | MORE | - Test-Driven Cameras
wish people had this same reaction to the idea of writing code without first writing tests (TDD). Tests give you the chance: To see what you are going to write, BEFORE you write it. If you haven’t already, here’s a great place to start learning to Test-Driven Development ? If you are already writing tests, here’s a free library to make test even easier to write? Unit Testing TDDI am getting old. The other day I was hanging around with my friend, Ike Ellis. He told me a story about his kids. The first question they asked was “Where is the picture?” DevelopMentor Courses - Wednesday, September 7, 2011 - Peeling Back the Onion Architecture
MVC (which stands for Model-View-Controller) lends itself to an Agile development methodology where TDD and BDD (Test-Driven and Behavior-Driven Development) are important components. Writing applications that are testable requires that you separate business logic from presentation logic so that they can be independently tested. Representing your repositories and services as interfaces decouples consumers from concrete implementations, enabling you to swap one out for another without affecting consumers, such as client UI’s or tests. Download the code for this article. Tony and Zuzana's World - Saturday, October 8, 2011 - Inversion of control and WCF
The are lots of reasons for doing so but in the end they mostly boil down to separation of concern which makes thing more modular and thereby easier to reuse and unit test. Lots of people like to use in inversion of control container, usually shortened to IOC, to inject dependencies into classes. When you start doing so manually injecting dependencies into a types constructor is easy enough but after a while this tends to become tedious and getting an IOC container to do this for you is a lot easier. This gives us two methods, the GetData() and GetDataUsingDataContract(). Bind ().ToConstant(Kernel); The Problem Solver - Tuesday, April 19, 2011 - Keep Dependency Injection Simple with MEF
Having to click through screens to test an application can be tedious and time-consuming, and it may not provide good code coverage or regression testing. By abstracting the View into a separate ViewModel, you can independently test the ViewModel to make sure it behaves as expected. The unit testing framework is simple another consumer of the View-Model. Whether or not you subscribe to the tenants of Test-Driven Development (TDD), you should test your ViewModels without any dependency on WCF services or databases. Enter Dependency Injection ! Tony and Zuzana's World - Tuesday, March 8, 2011 - Simple MVVM Toolkit versus MVVM Light Toolkit
Part 2 demonstrates navigation, messaging, dependency injection, unit testing and async operations. In addition Simple MVVM includes a multi-project Visual Studio template that supplies a Silverlight client, a WCF RIA Services web host, and a Unit Testing project. Lastly, Simple MVVM has direct support for dependency injection with MEF (Managed Extensibility Framework) and unit testing (for example with the Silverlight Unit Testing Framework). When it comes to deciding which toolkit best suites your needs, there is a spectrum of choices. Tony and Zuzana's World - Saturday, April 23, 2011 - Tackling the Problem of Modal Dialogs in MVVM
It is notoriously difficult to test the user interface by simulating things like button clicks and mouse overs. Encapsulating functionality into a view-model means that you can test it independently of the view, which is just another consumer of the view-model. If you were to display a dialog from the view-model in order to get input from the user, it would be impossible to run a unit test against the view-model because there’s no way for a unit test to respond to the dialog. One of the main benefits of MVVM is better application maintainability. null). Tony and Zuzana's World - Friday, January 28, 2011 - Build a Multi-Project Visual Studio Template
good example is the SimpleMvmRiaServices project template shown in the first screenshot, which generates a Visual Studio solution with three projects: an ASP.NET Web project, a Silverlight client project, and a Test project for unit tests. Next, make sure to sign your wizard assembly, using a test certificate if you like, and then obtain the public key token by opening a Visual Studio command prompt at the location of your wizard dll and entering the command (replace WizardAssembly with your dll file name): sn –T WizardAssembly.dll. saferootprojectname$.Entities Tony and Zuzana's World - Wednesday, September 14, 2011 %>
| | |