Build Status: https://travis-ci.org/SahilWadhwa/FlightBookingLab
To Run Fitnesse Test:
-
From terminal Goto : /FlightBookingLab/Fitnesse
-
Run fitnesse server: java -jar fitnesse.jar -p 8081
-
Open Browesr and goto: http://localhost:8081/FitNesse.SuiteAcceptanceTests.FlightPlanner
Scenarios covered
-
User can search for flights with less connection between source and destination.
-
User can search for flights with cheapest connection between source and destination.
-
Multiple route connections can be returned if avaialble.
Scalability (Scenarios that can be added with ease)
-
New Airline Operators can be added by Modifying Operator.java
-
Any number of flights can be added to an Airline.
-
RouteFilter can modified to set user preferences like Airline Operator preference, Flight Name Preference etc.
-
International airports can be added with ease by using similar business logic as of Domestic Airports.