Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Software Testing

1,044 views

Published on

Published in: Education
  • Be the first to comment

  • Be the first to like this

Software Testing

  1. 1. Software Testing
  2. 2. Overview •  Why Test? •  Software Test Strategy •  Test Cases
  3. 3. Why Test? •  Avoid Crashes
  4. 4. Why Test? •  Help us to write code
  5. 5. Why Test? •  Good Quality
  6. 6. Software Testing Strategy •  Automated Software Testing •  Manual Software Testing •  Exploratory Software Testing
  7. 7. Software Testing Strategy
  8. 8. Unit Test •  Unit tests validate the smallest components of the system, ensuring they handle known input and outputs correctly.
  9. 9. Integration Test •  Integration tests exercise an entire subsystem and ensure that a set of components play nicely together.
  10. 10. Functional Testing •  Functional tests verify end-to-end scenarios that your users will engage in.
  11. 11. Test Cases •  Test case is set of activities with expected and actual results executed in sequence to validate the feature of an application.
  12. 12. Box Approach •  Black Box Testing •  White Box Testing
  13. 13. XCTest
  14. 14. XCTest • iOS and OS X • Requires Xcode 5 • Derived from OCUnit • Builds .xctest bundles
  15. 15. Features Test Navigation -Panel where you can see your test cases Add new Test Cases and Test Target
  16. 16. Features Filter Failures -If you want to show the test cases that fails.
  17. 17. Features In Xcode 5 , Assistant Editor provides new test categories that place code and tests side by side.
  18. 18. Features Run Test Cases by clicking the Play Button
  19. 19. Features Re-run singles test case
  20. 20. Features Test Case Passed Test Case Failed
  21. 21. Features •  There is also a Test Breakpoint

×