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 Centr...
University of Central Lancashire Preston (UClan)
Unknown
Software Development (CO2401)
All documents for this subject (20)
Seller
Follow
BpoBpo
Reviews received
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.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller BpoBpo. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $4.51. You're not tied to anything after your purchase.