Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for *small*, open source, c# project with extensive Unit Testing [closed]

(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

like image 807
Chris Burgess Avatar asked Nov 13 '08 17:11

Chris Burgess


People also ask

Is C an open source?

The C language is not a piece of software but a defined standard, so one wouldn't say that it's open-source, but rather that it's an open standard. There are a gazillion different compilers for C however, and many of those are indeed open-source.

Where can I find C libraries?

In Unix-like systems, the traditional place for the basic system libraries is /lib/ , with many additional libraries are found in /usr/lib/ , sometimes in sub-directories. Furthermore, locally built libraries are traditionally placed in /usr/local/lib/ .

Is C and CPP open source?

C++ C++ has gained attention for being a simple, yet powerful open-source programming language that is widely used in developing performance-oriented applications.


3 Answers

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.

like image 73
Jon Skeet Avatar answered Nov 05 '22 17:11

Jon Skeet


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

like image 36
Chris Marisic Avatar answered Nov 05 '22 18:11

Chris Marisic


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.

like image 1
Josh Bush Avatar answered Nov 05 '22 16:11

Josh Bush