create our own unit testing framework in C#
-
Hi All, I want to create my own unit testing framework using C#. Can anybody please suggest me any websites or articles for creating our own unit testing framework using C#. Thank you All
Why? Visual Studio includes a UT framework already ... you are reinventing the wheel and adding a layer of possible bugs to the testing environment as well as spending some considerable time developing what already exists.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
Hi All, I want to create my own unit testing framework using C#. Can anybody please suggest me any websites or articles for creating our own unit testing framework using C#. Thank you All
I doubt such a thing exists. The idea itself is fairly obvious so I am not sure what you would need to know other than having used one at one time. Now lets say you want to hook it into VS itself. That is not trivial. But you can't do that until you create the rest of it anyways. Best thing I can suggest it so look at source code for log4net. And maybe read through questions and bugs for that.
-
Hi All, I want to create my own unit testing framework using C#. Can anybody please suggest me any websites or articles for creating our own unit testing framework using C#. Thank you All
Yes ... go for NUnit2. NUnit4. [NUnit.org](https://nunit.org/)
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
Yes ... go for NUnit2. NUnit4. [NUnit.org](https://nunit.org/)
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
above is correct answer. search public Unit test project. Like NUnit in this case. GitHub - nunit/nunit: NUnit 3 Framework[^] I think you do not begin from scratch but if you confident with your abilities, you contact original writer and suggest yourself as contributor on NUnit project in example.
Regards Toha