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)
Desconocido
Software Development (CO2401)
Todos documentos para esta materia (20)
Vendedor
Seguir
BpoBpo
Comentarios recibidos
Vista previa del contenido
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.
Los beneficios de comprar resúmenes en Stuvia estan en línea:
Garantiza la calidad de los comentarios
Compradores de Stuvia evaluaron más de 700.000 resúmenes. Así estas seguro que compras los mejores documentos!
Compra fácil y rápido
Puedes pagar rápidamente y en una vez con iDeal, tarjeta de crédito o con tu crédito de Stuvia. Sin tener que hacerte miembro.
Enfócate en lo más importante
Tus compañeros escriben los resúmenes. Por eso tienes la seguridad que tienes un resumen actual y confiable.
Así llegas a la conclusión rapidamente!
Preguntas frecuentes
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.
100% de satisfacción garantizada: ¿Cómo funciona?
Nuestra garantía de satisfacción le asegura que siempre encontrará un documento de estudio a tu medida. Tu rellenas un formulario y nuestro equipo de atención al cliente se encarga del resto.
Who am I buying this summary 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 this summary for $4.65. You're not tied to anything after your purchase.