Question: Please do testing in C#. Test Project Create a new Unit Test Project (.NET Framework) project named LastName.FirstName.Business.Testing , where FirstName and LastName correspond to

Please do testing in C#.

Test Project

Create a new Unit Test Project (.NET Framework) project named LastName.FirstName.Business.Testing, where FirstName and LastName correspond to your first and last names.

Name the Visual Studio Solution Assignment3FirstNameLastName, where FirstName and LastName correspond to your first and last names.

Examples

If your name is Dallas Page, the project and solution would be named:

Project: Page.Dallas.Business.Testing

Solution: Assignment3DallasPage*

Add a reference to your LastName.FirstName.Business.dll (from the previous assignment) in your Unit Test Project to access the Library classes.

Develop the required unit tests for the following classes in your library:

SalesQuote

Please do testing in C#. Test Project Create a new Unit Test

CarWashInvoice

Project (.NET Framework) project named LastName.FirstName.Business.Testing, where FirstName and LastName correspond to

Financial

your first and last names. Name the Visual Studio Solution Assignment3FirstNameLastName, where

Create a new unit test class for each class you are testing. Ensure that all method outcomes are tested, including exceptions.

Documentation is not required for unit test class or methods.

SalesQuote - vehicleSalePrice : decimal - tradelnAmount : decimal - salesTaxRate : decimal - accessoriesChosen : Accessories - exteriorFinishChosen : ExteriorFinish +> VehicleSalePrice : decimal +> TradelnAmount : decimal +> AccessoriesChosen : Accessories +> ExteriorFinishChosen : ExteriorFinish +> AccessoryCost : decimal +> FinishCost : decimal +> TotalOptions : decimal + SubTotal : decimal +> SalesTax : decimal +> Total : decimal + AmountDue : decimal +SalesQuote(vehicleSalePrice : decimal, tradelnAmount : decimal, salesTaxRate : decimal, accessoriesChosen : Accessories, exteriorFinishChosen : ExteriorFinish) +SalesQuote(vehicleSalePrice : decimal, tradelnAmount : decimal, salesTaxRate : decimal) CarWashlnvoice - packageCost : decimal - fragranceCost : decimal + PackageCost : decimal +> FragranceCost : decimal +> ProvincialSalesTaxCharged : decimal +> GoodsAndServicesTaxCharged : decimal +> SubTotal : decimal +CarWashlnvoice(provincialSalesTaxRate : decimal, goodsAndServicesTaxRate : decimal) +CarWashInvoice(provincialSalesTaxRate : decimal, goodsAndServicesTaxRate : decimal, packageCost : decimal, fragranceCost : decimal) "static" Financial +GetPayment (rate : decimal,_numberOfPaymentPeriods: int,_presentValue : decimal) : decimal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!