Giter VIP home page Giter VIP logo

mscs721-roomscheduler's People

Contributors

srivivekdatta avatar dheerutocool avatar

Watchers

 avatar

mscs721-roomscheduler's Issues

Issues from HW

See attached or read the following:

Gregory+Cremins+defect+analysis+assignment.docx

System running: Windows 10, Eclipse Version: Luna Service Release 2 (4.4.2), JRE 1.8
Github info: 430e13d. Commit: 430e13d (Comment for importing file)
Defect 1: Tried to remove a room that did not exist. Made sure the list was populated then typed the room name wrong to try to remove a room that was never added. (Error in Roomscheduler: 135)

  • Attempted to remove room that was never created
  • Expected result: Simple error stating that room was never created
  • Actual result: Program crashed with index out of bounds exception
  • Steps to reproduce bug:
    o Add room as example (optional)
    o Attempt to remove room with remove option, on name prompt, type name of room that does not exist.
  • Test case:

Defect 2: Attempted to export to JSON file, met with Java IO exception but still claimed that export was successful. Still handled input afterwards.

  • Attempted to simply export the room list to a JSON file.
  • Expected result: It would allow me to put the list of rooms and their schedules into a json file.
  • Actual result: IO error
  • Steps to reproduce bug
    o Add room using prompts
    o Attempt to export the files using option 6
  • Test case:
    Defect 3: Accidentally put an ‘s’ in the main menu prompt. Crashed program. (Error in Roomscheduler: 106)
  • Accidentally put an s in the main menu prompt while trying to speed add rooms.
  • Expected result: Program does not crash, simply throws an error
  • Actual result: Program crashed with input mismatch exception
  • Steps to reproduce bug:
    o Put any character into the main menu prompt and push enter
  • Test Case:

Defect 4: Attempted to import a file could not do so because file was missing. Still stated that it was successful.

  • Attempted to import JSON file
  • Expected result: Error saying I did not have the file created or a prompt would show up asking where the file was.
  • Actual result: Error saying it could not find file on my E drive, which I do not have. Still stated though that I had successfully imported the file.
  • Steps to reproduce bug
    o Make sure E:\test.json does not exist on your drive
    o Attempt to use the import feature.
  • Test case:

Defect 5: Attempted to add a meeting using a time that was only string characters. Threw an error and program crashed. Handled invalid date but not invalid time. (Error in Roomscheduler : 188)

  • Attempted to create a timestamp that was just letters: ‘ab’
  • Expected result: Error saying that it was an invalid time format like the date format does
  • Actual result: Error saying that there was an illegal argument exception and program crash
  • Steps to produce bug
    o Create a valid room
    o Attempt to schedule a meeting
    o Put in a valid date
    o Type any string into the time
    o Finish the rest of the prompts to add a room
  • Test case:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.