14

(I asked this question but did not receive much response. It was recommended that I ask the same question with regards to C#. )

I am a VB.NET developer with little C# experience (yes, I know I need to write more in C#), looking for small open source projects that demonstrate high unit testing coverage from which to learn.

I'm looking for small projects because I don't want to have to wade through a ton of code to get a better understanding of how to apply unit testing in my own situation, in which I write mostly IT business apps used internally by my company.

UPDATE: Original question that got me asking about this is here

Community
  • 1
  • 1
Chris Burgess
  • 5,787
  • 13
  • 54
  • 69

6 Answers6

3

My MiscUtil library has variable test coverage - some parts are very thoroughly tested, and others were written before I knew about unit testing.

If you wanted to learn by writing some tests for the uncovered stuff, you'd be very welcome :)

It's a big of a grab-bag of useful bits and pieces - which is handy in some ways, as you can take almost any bit and study it on its own. There's no "overall architecture" to learn.

Jon Skeet
  • 1,421,763
  • 867
  • 9,128
  • 9,194
  • some parts are very thoroughly tested, and others were written **before I knew** about unit testing. /// Your honesty is admirable. – Ayub Aug 21 '15 at 06:54
1

Try looking at FileHelpers (http://www.filehelpers.net/). I recently had to make an edit to it and found the source code easy to wade through. It has a large number of tests.

Marcos Meli
  • 3,468
  • 24
  • 29
Josh Bush
  • 2,708
  • 4
  • 24
  • 25
1

I recommend looking at CarTrackr it has a wide range of .Net technologies that a developer should be familiar with (Unity, MVC framework especially) and has extensive unit testing. The project is simple enough to digest in 1 sitting but complex enough to actually be more than a proof-of-concept. Their codeplex url is at http://www.codeplex.com/CarTrackr

Chris Marisic
  • 32,487
  • 24
  • 164
  • 258
0

this link is related to Silverlight but the concepts are probably very similar (from a TDD'ish point of view): http://www.jeff.wilcox.name/2008/11/04/test-framework-source/

Ricardo Villamil
  • 5,031
  • 2
  • 30
  • 26
0

My GeoNames .NET WCF Client

baretta
  • 7,385
  • 1
  • 25
  • 25
0

codecampserver.org

Matt Hinze
  • 13,577
  • 3
  • 35
  • 40