Skip to content

MaJaWh/cruise-ships

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUISE-SHIPS

CONTENTS OF THIS FILE

  • Introduction
  • Learning Objectives
  • Concepts
  • Requirements
  • Installation

INTRODUCTION

This project was completed as part of the 6th week of the Manchester Codes Software Engineering Course. This was my second adventure into Object Oriented Programming using Java Script. This project focused on learning how prototypal inheritance works between classes. We focused on what methods and properties each method should have and how they pass these properties to other classes. The whole project was created using TTD and how to isolate objects in tests and how we test behaviour thats outside our control.

LEARNING OBJECTIVES

  • Can you explain what Object-oriented Programming is?
  • Can you effectively break down a user story into a domain model?
  • Can you use dependency injection to get objects to talk to each other?
  • Can you use mocks to emulate dependencies in tests?
  • Can you use spies to track call history of other functions?

CONCEPTS

  • Domain Modelling
  • Object-oriented Programming
  • Single Responsability Principle
  • Mocks
  • Spies

REQUIREMENTS

This project requires no special modules

INSTALLATION

Please follow the bellow steps

  • Please clone down the project from git@github.com:MaJaWh/cruise-ships.git
  • Once inside the cruise-ships folder.
  • Run NPM Install in the root directory to download node modules.
  • Tests can be run by typing $npm run test in the command line

About

JavaScript, OOP, JEST, Mocks, Spies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published