Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unit Testing of vb.net project [closed]

I am asked to do testing of the project which I've made, the question is like that:

Testing (Test case designs are to be included separately for Unit testing, Integration testing, System testing; Reports of the outcome of Unit testing, Integration testing, System testing are to be included separately. Also, details of debugging and code improvement are to be included.)

The question is that how am I supposed to do unit testing and how can I show that on my project report.

like image 551
Krishna Chauhan Avatar asked Oct 19 '25 23:10

Krishna Chauhan


1 Answers

how am i supposed to do unit testing

The most popular unit testing frameworks on .Net are NUnit, xUnit and the Visual Studio Unit Testing Framework (also known as MSTest).

There is a built-in unit testing project type in Visual Studio, try new project and look in the Test section.

I'd recommend reading up on unit testing approaches. There is a lot of material out there in books and online. Key advice is to test behaviour, not methods.

how can I show that on my project report

It is common practice to set up continuous integration for software projects. Continuous integration tools like TeamCity can provide reports on unit test passes and failures through to code coverage on each build.

like image 182
Phillip Trelford Avatar answered Oct 22 '25 23:10

Phillip Trelford



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!