0% found this document useful (0 votes)
15 views

CSharp-MVC-Frameworks-Testing-Deployment-and-Continous-Integration-Exercise

The document provides instructions for testing the business logic of an event ticket sales application called Eventures. It outlines four tasks: 1) Extract business logic to services to separate the application and data layers. 2) Write unit tests for each service method. 3) Implement integration tests to test interactions between application components. 4) Use Selenium to automate browser testing and verify client-facing content.

Uploaded by

Trifon Shterev
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

CSharp-MVC-Frameworks-Testing-Deployment-and-Continous-Integration-Exercise

The document provides instructions for testing the business logic of an event ticket sales application called Eventures. It outlines four tasks: 1) Extract business logic to services to separate the application and data layers. 2) Write unit tests for each service method. 3) Implement integration tests to test interactions between application components. 4) Use Selenium to automate browser testing and verify client-facing content.

Uploaded by

Trifon Shterev
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Exercise: Testing

Problems for exercises and homework for the “C# MVC Frameworks - ASP.NET Core” course @ SoftUni.

Eventures
Eventures Inc. is a fast-rising newly made Start-Up Company, which specializes in Event Tickets Sales. It is said to be
the killer of systems like Eventim, Eventbride, etc.
You have been appointed as the developer of the main web application. This is a great responsibility, so do your
best and do not dissapoint your employers. The application functionality is not that complex, and it will be
separated into several parts, each part consisting of several tasks.
Your current task is to extend the business logic of the application, by testing the logic you’ve implemented by now.

1. Architectural Changes
If you’ve not done it so far… Extract the business logic to Services so that you separate the Application Layer from
the Data Layer. Extract any functionality which is not correctly placed in the Controller to a separate Service.

2. Unit Testing
Now that you have what to test, test every method and functionality you have in your Services. Write separated
Unit Test classes and methods for each functionality.

3. * Integration Testing
Test your skills and knowledge gained with the Testing Lesson, by implementing Integration tests in the Eventures
application. Make a research on what is good to be tested and verified on an Integration level and test the most
basic stuff.

4. ** Selenium Testing
Automate your browser and verify the content that the Eventures App provides to its Clients.

© Software University Foundation (softuni.org). This work is licensed under the CC-BY-NC-SA license.

Follow us: Page 1 of 1

You might also like