|
Sponsored Links
Resources
.NET Research Library
Get .NET related white papers, case studies and webcasts
|
News
News
News
|
Messages: 5
Messages: 5
Messages: 5
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
Unit Testing: Can You Repeat Please?
How is unit testing performed in organizations? Is it an informal activity that is done before integration if there is some time left after programming or is it the key element of the development effort? A recent poll examined the way unit testing is performed in software development organizations. Here are the results:
Unit testing is not performed 13% Unit testing is informal 46% Unit tests cases are documented 11% Unit tests cases and their executions are documented 16% We use a Test Driven Development approach 14%
Participants: 460
As we can see, a majority of participants is still performing unit testing informally. This is symptomatic of the small consideration that is given to the testing phase in most software development projects. When the pressure to deliver on time is big, an informal unit testing phase allows mainly to test poorly without being noticed. It is however recognized that unit testing is an important building block of system quality and that it costs more to correct errors discovered in later project phases. Good documentation of unit tests allows also improving maintenance when the original developer has left the project or the company.
At a time where agile approaches repeat the importance of unit testing, the glass can also be considered as half-empty. From this point of view, It is already encouraging to see that 41% of the participants are documenting their unit testing efforts. A Test Driven Development approach is used by 14% of the participants and 16% are documenting the execution of their unit test. These percentages are already important. They could be explained by the emergence of a wide range of open source unit testing frameworks in the xUnit family. They are the tools that should lead to more and more repeatable unit tests.
Source: Methods & Tools (http://www.methodsandtools.com)
|
|
Message #204429
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
TDD and agile
Despite what we think, TDD and Agile is still not mainstream. Its only just begun.
|
|
Message #204440
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Unit Testing
@ Wipro Technologies, India we do Unit Testing for all our projects, we write UTC and then prepare UTR.
|
|
Message #204487
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Typical TDD and Pattern nonsense propaganda
When I hear UNIT testing, I know that project will fail.
Just look at Microsoft in the last day or 2, VISTA. it's now being delayed and guess what? It's not that good anyway and there is essentially no "wow" features after how many years 5, 6 years!!!
Typically, all these patters and practices, and method websites and books are writting by "can't get it done" authors who are more talk, Q and A, than actually writing code that works in the real world.
|
|
Message #204500
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
I for one test frequently
don't know about other people, but I generally write unit tests and sample code for most things I write. Depending on how much time I have, the tests may be extensive or minimal. TDD can go too far and become a huge headache, but applied judiciously, it can be a benefit. Of the open source projects I contribute to, all of them have unit tests that are executed with the builds. I've also seen cases where the tests become an overhead, but it's that or mis regressions.
peter
|
|
Message #204526
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Typical TDD and Pattern nonsense propaganda
When I hear UNIT testing, I know that project will fail. This is rubbish. I'd like to know what the alternative is? Visually testing an application, especially when it involves thousands of classes is clumsy, prone to error, and a waste of time. It's also not very helpful at keeping developers discplined enough to write classes that stand on their own.
Just look at Microsoft in the last day or 2, VISTA. it's now being delayed and guess what? It's not that good anyway and there is essentially no "wow" features after how many years 5, 6 years!!! In what way does this have to do with TDD and patterns?
Typically, all these patters and practices, and method websites and books are writting by "can't get it done" authors who are more talk, Q and A, than actually writing code that works in the real world. This thread is a total waste of time.
|
|
 |
| |
|
New content on TheServerSide.NETNew content on TheServerSide.NETNew content on TheServerSide.NET |
 |
 |
Language "mashups" will become more prominent, and developers will become polyglots, one programmer suggests.
SearchWinDevelopment.com offers an introduction to the language, performance, testing and data management improvements in VS 2008.
VBCode.com code snippets cover all aspects of application development, from data binding to security to the user interface.
Get up to date on XAML best practices with a variety of articles, tutorials and webcasts. [SearchWinDevelopment.com]
One team's experience with the VSTS DB edition suggests that it can improve workflow for dev teams. It also enhanced Agile efforts.
(June 24, Article)
Microsoft has begun to include DSL tools in the VSTS kit. A new book by Steve Cook and other VSTS team members helps set the stage.
(June 24, Article)
Cartoon: Be it ever so humble there is no place like your home after you get a Microsoft Home Server .
(June 18, Cartoon)
Microsoft's Thom Robbins says new technology to highlight in NET 3.5 includes AJAX, LINQ for both C# and VB, as well as tooling enhancements intended to ease the task of building WPF, WF and WCF apps.
(June 29, Podcast)
Venkat Subramaniam discusses AJAX bottlenecks, the tenets of Agile development and more. He spoke at the Ajax Experience.
(June 25, Tech Talk)
In the second of a two-part series, Michele Leroux Bustamente discusses design decisions related to the claims-based security model. Read the story and walk through the process for creating a set of claims-based utilities to encapsulate claims authorization at the service tier.
(May 24, Article)
Understanding why the Entity Framework exists and learning where it can fit into your projects can get you prepared for the eventual release early next year.
(May 10, Article)
Resource: This learning guide gives you quick access to useful links on Windows Communication Foundation security information.
(April 24, Article)
TSS.NET's Jack Vaughan spoke recently spoke with Microsoft's Brad Abrams to find out what he is seeing in the field and what the chefs in Redmond are cooking. Along the way he discusses patterns of AJAX frameworks.
(April 11, Article)
In a two-part series, Michele Leroux Bustamente explains how claims-based security is supported by WCF, and how you can implement a claims-based security model for your services.
(March 29, Article)
Windows Workflow Foundation is a new technology that many developers will need to get their heads around. In a brief excerpt adapted from Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#, K.Scott Allen considers aspects of workflow definition.
(March 22, Chapter Excerpt)
|
|