Professional Documents
Culture Documents
HNVN TR 07016 UnitTestingwithNUnit Assignment2
HNVN TR 07016 UnitTestingwithNUnit Assignment2
Course Name:
Date:
09 13 Apr 2015
Trainer:
Le Hoang Dung
Trainee:
MS Freshers
Build a web application by using either ASP.NET MVC, Entity Framework or Java and Spring
MVC and applied unit test as well as integration test for the below problem:
Ho Chi Minh City Office: e-town Building, 364 Cong Hoa Street, Tan Binh District, Ho Chi Minh City, Vietnam Tel: +84 8 810 6200 Fax: +84 8
810 6201
TYPE
AMOUNT
NotTriangle
10
Normal
40
Equilateral
Isocele
Please create two additional projects for Unit Test and Integration Test
Unit Test
o Test for business logic of Triangle calculation
o Isolate unit tests by apply mocking technique
Integration Test
o For testing the stored procedure results (from a test database).
The application and the test projects should be well designed and easy to maintain.
Ho Chi Minh City Office: e-town Building, 364 Cong Hoa Street, Tan Binh District, Ho Chi Minh City, Vietnam Tel: +84 8 810 6200 Fax: +84 8
810 6201