October 07, 2003
Possible NUnit Feature
In a discussion about documentation, code examples and what not today, I had a thought that I wanted to jot down somewhere, and here is as good as anywhere:
Would it be valuable to find a way to mark certain NUnit tests as examples, and have them included in the generated help file as the example for a class?
At first I was thinking an attribute e.g. [Example(Class.Method)] but the problem with that is that attributes are resovled at run time, and its the source we want. Of course, the VS.NET commenting xml markup has an "example" element, but that would mean copying the source into the comments (ick).
Another issues I see is finding an easy way to associate the test with the specific method or class that it is an example of (the parameter to an attribute can be used, but still doesn't resovle the attribute's main problem).
Oh well, I'll have to think about it some more, but I think there's something in there worth figuring out...
Posted by wcaputo at October 7, 2003 01:31 PMIs it possible to test Forms in .NET by NUnit
Posted by: Ehteshamul Haque at April 21, 2004 08:05 AMBad Links (January 19, 2006)
Visual Studio Team System Jumpstart (January 18, 2006)
Aligining Value (January 17, 2006)
Lisp Again (January 16, 2006)
Getting It Right (January 13, 2006)
Efficiency vs Productivity (January 12, 2006)
Stubbornness (January 10, 2006)
Writing To Annoy Yourself (January 9, 2006)
Due Process In The Workplace (January 5, 2006)
(All Entries...)