100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Lecture notes

CO2401 Software Development Lecture 13 Notes

Rating
-
Sold
-
Pages
3
Uploaded on
22-08-2024
Written in
2023/2024

This document contains detailed notes from Lecture 13 of the CO2401 course on Software Development, focusing on the assignment brief for a practical project. The assignment requires students to develop and unit test a BuildingController class for a "Smart Building" system at the University of Central Lancashire (UCLan). The project involves managing subsystems like doors, lights, and fire alarms, as well as logging and notifications.

Show more Read less








Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
August 22, 2024
Number of pages
3
Written in
2023/2024
Type
Lecture notes
Professor(s)
Muhammad alhassan
Contains
All classes

Content preview

CO2401: Software Development
Lecture 13 - Assignment Brief
Lecture

Assignment Brief
1. Context:
o The University of Central Lancashire (UCLan) is converting the C&T
building into a "Smart Building."
o The system will control the building’s doors, lights, and fire alarm.

2. Objective:
o Using C# and NUnit, you are required to develop and unit test the
BuildingController class, responsible for managing the smart
systems in the building.
o You must adopt a Test Driven Development (TDD) approach.

BuildingController Class Responsibilities
1. Subsystems Management:
o LightManager

o DoorManager

o FireAlarmManager

2. Logging and Notifications:
o Logs changes to the building's state using a WebService object.

o Sends maintenance emails using an EmailService object.

Test Driven Development (TDD) Approach
1. RED: Write a test that fails initially because the desired functionality isn’t
implemented yet.
2. GREEN: Write just enough code to make the test pass.
3. REFACTOR: Clean up the code, ensuring it remains functional and passes
all tests.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BpoBpo University of Central Lancashire Preston
View profile
Follow You need to be logged in order to follow users or courses
Sold
309
Member since
5 year
Number of followers
250
Documents
78
Last sold
1 month ago

3.7

73 reviews

5
27
4
17
3
17
2
5
1
7

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions