|
|
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.
|
9 Articles match "2007","Unit Testing"
|
The Latest from DevelopMentor
|
MORE
|
|
Purchasing Visual Studio 2010
Testing. Unit Testing. Test Impact Analysis. Coded UI Test. Web Performance Testing. Load Testing 1. Microsoft Test Manager 2010. Test Case Management 2. Manual Test Execution. Fast-Forward for Manual Testing. Database Unit Testing. Database Test Data Generation. Test Case Management 2. Microsoft Office 2007 Ultimate, Communicator 2007, Project 2007 Standard, Visio 2007 Professional, SharePoint Designer 2007. Below the prices is a feature comparison also….
The Blomsma Code
- Tuesday, July 13, 2010
Processing Text Files with LINQ
For example, here’s a snippet from the file that shows the movies directed by Wes Anderson: Anderson, Wes Bottle Rocket (1994) Bottle Rocket (1996) Darjeeling Limited, The (2007) Fantastic Mr. Fox, The (2009) Hotel Chevalier (2007) Life Aquatic with Steve Zissou, The (2004) Royal Tenenbaums, The (2001) Rushmore (1998). The full source code (with convenience overloads and unit tests) is available here. I was recently writing some code to stream through a large text file, processing the lines it found that matched a regular expression. Lost in Translation (2003).
Jason Diamond
- Sunday, September 7, 2008
System.Transactions and Windows Vista NTFS (Updated)
With this TxFileStream class, you can write succinct code like this: [Test]. Of course, my library comes with comprehensive unit tests. I've been playing with my fresh copy of Vista Ultimate - which I am surprised to find that I absolutely love. Being a big fan of System.Transactions, I naturally wanted to use it with Vista's TxF (Transactional NTFS) file system. But unlike the data libraries, the file APIs don't auto-enlist in the transaction. In fact, there are only COM / PInvoke APIs currently. But I was unimpressed with the managed wrapper they created there. Kennedy.
Michael C. Kennedy's Weblog
- Thursday, December 6, 2007
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Unit testing (from objectives)
You can, but you have to jump through hoops to get your test framework to push buttons. Of course there are tools which will do this for you but these usually fall into the realm of ATDD (Acceptance TDD) and system testing. The other way of doing it is to test the output. Increasingly application emit XML or HTML to generate their user interfaces and you can test that. You can test small segments of XML to see if it contains the expected data. It is about designing your code with tests rather than UML, or flow charts or what ever.
Allan Kelly's Blog
- Monday, July 2, 2007
-
Custom ToString() for Flag based Enums, and a splatter of Unit Testing
To extend the technique to Flag'd based enums you need to effectively test the enum value against each possible flag value. A project that I'm currently working on has a enum type, where the enum is defined like so [Flags] public enum EventDayMask { NONE = 0, SUNDAY = 1, MONDAY = 2, TUESDAY = 4, WEDNESDAY = 8, THURSDAY = 16, FRIDAY = 32, SATURDAY = 64 } Calling ToString on a value of type EventDayMask would result in a comma separated list of the various set bits. You can't override ToString for Enum's which means you can't write your custom string generate as part of the enum class.
.NET Mutterings
- Friday, February 2, 2007
-
Failures in Agile process?
Unit test break and aren’t fixed, planning meeting are missed, quality slips and deadlines are missed. They don’t want to write tests, do code reviews or pair, believe in technology over visual planning, etc. One of the questions that was posed at ACCU conference was “What are the downsides of Agile development?” rdquo; – and “What does Agile failure look like?” rdquo; I have tried to answer the first question before but failed myself. This is a subject James Noble has done some work on. Again the process is left in a random state.
Allan Kelly's Blog
- Sunday, April 22, 2007
-
System.Transactions and Windows Vista NTFS (Updated)
With this TxFileStream class, you can write succinct code like this: [Test]. Of course, my library comes with comprehensive unit tests. I've been playing with my fresh copy of Vista Ultimate - which I am surprised to find that I absolutely love. Being a big fan of System.Transactions, I naturally wanted to use it with Vista's TxF (Transactional NTFS) file system. But unlike the data libraries, the file APIs don't auto-enlist in the transaction. In fact, there are only COM / PInvoke APIs currently. But I was unimpressed with the managed wrapper they created there. Kennedy.
Michael C. Kennedy's Weblog
- Thursday, December 6, 2007
-
Visual Studio Tricks Series: #1 Set As Startup Project
This includes at least an EXE and a unit test project right? Welcome to my Visual Studio Tricks series. Here I’ll give you some quick tips for saving you lots of time when working with Visual Studio. In this first installment, I'll show you how to switch between projects more quickly. Any time you work on a large project, you’ll have several projects that you might want to launch from within a solution. Hint, hint, nudge, nudge. Typically you do this by right-clicking on the project and say “Set as Startup Project”. But did you know you can set a hot key for this? Kennedy.
-
Agile failure modes - again
Improve quality means less time spent in test at the end of a development. One way in which we seek to improve quality is through automated unit testing. This is usually undertaken as Test Driven Development or Test First Development. With automated unit tests fine grained functionality can be tested very rapidly which provides for rapid regression testing and increased confidence in new code. We actually want the tests to fail if we change something because they prevents errors slipping into the system. And they are right.
Allan Kelly's Blog
- Wednesday, October 3, 2007
-
TDD, Objective setting and doing the obvious
The team have not been doing code reviews or Test Driven Development (automated unit testing if you prefer) but everyone is willing to do both. I’ve been doing a round of objective setting for my client recently. When it was first announced the company wanted to go down this path I groaned. ldquo;Arhh” I thought, “I hate objectives, I hate people setting them, I hate all the baggage that comes along with them.” rdquo; Neither was I impressed by the way my client’s HR department presented the idea or the proposal for implementation.
Allan Kelly's Blog
- Wednesday, June 27, 2007
|
|
|