Carleton University

Carleton University

<p> Carleton University School of Computer Science COMP 4004 – Fall 2008 Assignment #2 Due: Tuesday November 25th 2008 at 11:55pm</p><p>ACCEPTANCE and SCENARIO BASED TESTING</p><p>In this assignment, you will develop an application system test suite for an Automatic Teller Machine by modeling its essential capabilities as Extended Use Cases. For this assignment you should use Binder’s Extended Use Case Test pattern (pages 722-731), and complete the following steps: </p><p>1. Define the major responsibilities for withdraw and deposit tasks 2. Draw the use case maps for each task (Bounded and UnBounded), include different stubs and alternatives that you need 3. Define the pre- and post- conditions in use case maps, where applicable 4. Extract a set of scenario definitions from the use case map models (UCMs) that achieve branch coverage, and define the path for each extracted scenario 5. Write a test case for each extracted scenario in Java, using JUnit for running your test cases/ suites (www.JUnit.org) 6. Build an ANT build.xml file, a Java based build tool that runs your JUnit test (http://ant.apache.org/manual/index.html) 7. Run your test cases</p><p>DELIVERABLES Write a test report consisting of the following information: - All your assumptions, diagrams and results for above 5 items - Tables and figures related to your work, like table 14.3 and figure 14.1 in Binder - Listing of test cases with relevant test drivers, make sure to add enough comments for each test case, and also your ANT build file - A brief explanation that why you chose the number of test cases you did, and if they are necessary and sufficient from a black-box test design perspective for test coverage purpose - The test result (passed or failed) after running each test case. If it failed, also include the corresponding error in the code - A printed document should also be delivered to me or to the TA, before the deadline</p><p>MARKING SCHEME [Total 100] 10% - Responsibilities and Assumptions 20% - Use case maps 20% - Scenarios 20% - Test cases 10% - JUnit test drivers 20% - ANT build file</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us