r2 - 2013-12-13 - 08:23:09 - Main.litinghuiYou are here: TWiki >  Deployment Web > CloudDeployment > SDLCRtvsCalculator

todo.png Getting started with RIT using Calculator Example

Authors: TingHuiLi
Build basis: IBM Software Delivery and Lifecycle Patterns, version 1.0.1.

You are able to familiar with RIT using Calculator Example through this Demonstration.


The following Demonstration is intended to provide the hands on experience using the Rational Test Workbench Pattern with Calculator sample project.

Demonstration Steps

  1. Create a new project
  2. Ctrl-V the calculator URL into RIT
  3. Set the proxy in the client tab of the physical entry, make sure Test Connection works
  4. Create test (with-MEP), 1 each for all 5 operations (or 2 will work), make sure that all tests PASS
  5. Create a stub (with-MEP), that does wrong math; in the properties tab, set it to "pass-through" (about half way down) for example "2+3=4", also publish it
  6. Create a test, that does the wrong math (same "2+3=4")
  7. Run the test "2+3=4", it should fail
  8. Start the "2+3=4" stub in GHTester
  9. Run the test "2+3=4", it should pass
  10. Run the original Add test (1+2=3), it should also pass (hit the stub, but got passed through)
  11. Stop stub in GHTester, start the same stub in RTCP
  12. Run the test "2+3=4", it should pass
  13. Run the original Add test (1+2=3), it should also pass (hit the stub, but got passed through)
  14. Stop the stub in RTCP
  15. Start recording on, say, the Add op
  16. Run the "1+2=3" test
  17. Go into Record studio, stop the recording, there should be some entries
  18. Make sure you can save the entries to test and test should PASS
  19. Make sure you can svae the entries to stub and it should serve in both GHTester and RTCP

Demonstration Detail

External links:

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our Terms of Use. Please read the following disclaimer.