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

CarWashInvoice

Financial

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
Get step-by-step solutions from verified subject matter experts
