Mbt using rhpsody_ANGUS TECHNOLOGIES


Published on

Published in: Education, Technology, Business
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Through the years development process has evolved from Assembly code to higher level languages like C,C++, and Java and now to UML and Model Driven Development. This has shown productivity gain as shown in the next couple of slides The next phase that is starting to gain steam is Model Driven Testing. This allows you to enhance your process. The importance of MDT is shown a little later
  • The most basic way to test in Rhapsody is to just run and application and watch the diagrams animate. This is great but the inputs and expected results aren’t automated.
  • Multiple ways to test your design. If you are used to coding tests you still call. If you feel comfortable with modeling your testing you can use sequence diagrams of flowcharts. You even can combined these 3 types of test elements into one coherent test An example is you might want to use code to set some starting values but like sequence diagrams to see the actual flow. This is possible in one test
  • Rhapsody Test Conductor is covered in the next few slides. It is an add-on to Rhapsody that supports Model Driven Testing It is tightly integrated into Rhapsody. Over on the left is Rhapsody’s browser this includes the testing artifacts and links to the generated reports from test executions.
  • Even more powerful is that the we can use the execution results of the MDD environment to let us know if a requirement has been satisfied by the modeled communication systems. The traceability enables us to easily keep track of which customer requirements are being satisfied by the resulting executing system, and where we still need to have compliance. This approach more easily allows us to produce systems meeting customer expectations, which often times is not the case.
  • iPLON Smarter Solar Power Solutions Founded in 1996 as TLON, iPLON GmbH is a technology services provider based in Germany. The company specializes in measurement and control technology and process engineering, including the development of algorithms, as well as pattern-based software development. iPLON’s highly innovative engineers and programmers are familiar with a variety of technologies, including LONWORKS and Internet Protocol Suite (TCP/IP) technology, and work to provide customers in numerous industries with innovative and unique solutions that help make products and systems more intelligent, efficient and effective. Business need iPLON was working to develop sophisticated electronics and software systems that allow for remote management and control of photovoltaic systems, as well as collection and analysis of power consumption data. The company needed to create systems that could analyze and control energy generation efficiency from discontinuous sources. The first task in creating the new systems was building a multi-vendor monitoring system for photovoltaic installations that included Web-based data evaluation and monitoring features. In the past, iPLON had been using hand-coding to develop its solutions. However, given the growing complexity of the new systems, the company found it increasingly challenging to perform development using hand-coding. Struggling with issues like missing traceability, limited reuse of parts and inconsistent quality, iPLON decided it needed to implement a new development environment for its embedded software. Solution implementation iPLON elected to implement IBM Rational Rhapsody software as its new development environment for the embedded software that the company is developing for photovoltaic products. The IBM Rational Rhapsody software provides the company with a model-driven development (MDD) environment for real-time or embedded systems engineering, software development and testing based on the Unified Modeling Language (UML) and Systems Modeling Language (SysML). iPLON is using the Rational Rhapsody tool to accomplish the following: - Requirement analysis - Design and code generation in the C, C++, Java coding languages - Testing Benefit of the solution With the new Rational Rhapsody software, iPLON can handle the complex embedded software development needed to support photovoltaic products and analyze power consumption data. The new design process helps iPLON test models earlier in the development process, which helps the company find errors earlier, resulting in cost savings. In addition, using the Rational Rhapsody software, the company can create reusable subsystems and source code modules, saving additional time and money. The Rational Rhapsody software also helps system engineers and software developers improve productivity, quality and communication by abstracting complex designs graphically, automating the software development process and finding defects early through continual testing.
  • This should be a pretty standard slide for you guys, and its simple purpose is to introduce the motherhood of rational and what we offer. Its has being tweaked slightly to make it align with MBSE .. So there shouldn’t be any surprises.
  • Closing slide to be included in all external presentations. Learn more at: IBM Rational software: www.ibm.com/software/rational IBM Rational Software Delivery Platform: www.ibm.com/software/info/developer Process and portfolio management: www.ibm.com/software/rational/offerings/lifecycle.html Change and release management: www.ibm.com/software/rational/offerings/scm.html Quality management: www.ibm.com/software/rational/offerings/testing.html Architecture management: www.ibm.com/software/rational/offerings/design.html Rational trial downloads: www.ibm.com/developerworks/rational/downloads Leading Innovation Web site: www.ibm.com/software/rational/leadership developerWorks Rational: www.ibm.com/developerworks/rational IBM Rational TV: www.ibm.com/software/info/television/index.jsp?cat=rational&media=video&item=en_us/rational/xml/M259765N40519Z80.xml IBM Rational Business Partners: www.ibm.com/partnerworld/pwhome.nsf/weblook/index.html IBM Rational Case Studies: www.ibm.com/software/success/cssdb.nsf/topstoriesFM?OpenForm&Site=rational
  • Mbt using rhpsody_ANGUS TECHNOLOGIES

    1. 1. Model Based Testing using Rhapsody Presented By Suneel Santharam Senior Product Consultant
    2. 2. Development Process is Evolving… MDD MBT t 1960 1970 1980 1990 2000 2010 ASM C, C++, J
    3. 3. Traditional testing methodologies are insufficient 80% of development costs are spent identifying and fixing defects *Source: 2008 GBS Industry standard study Defect cost derived in assuming it takes 8 hrs to find, fix and repair a defect when found in code and unit test. Defect FFR cost for other phases calculated by using the multiplier on a blended rate of $80/hr HW/SW integration Test Induced Errors Development Operation Integration Repair Cost Defects Introduced Defects Found $80/defect * $240/defect* $960/defect* $7,600/defect* Requirements Phase Development phase Released Product QA/Testing phase
    4. 4. Why using Model-Based Development and Test? <ul><ul><li>Model-based specifications are </li></ul></ul><ul><ul><ul><li>Executable </li></ul></ul></ul><ul><ul><ul><ul><li>early validation and verification of the designs against requirements </li></ul></ul></ul></ul><ul><ul><ul><li>Visual </li></ul></ul></ul><ul><ul><ul><ul><li>improved maintainability and communication </li></ul></ul></ul></ul><ul><ul><li>Model-driven Testing </li></ul></ul><ul><ul><ul><li>Enables early and repeated testing </li></ul></ul></ul><ul><ul><ul><li>Bugs are found early; hence easier to fix with less cost </li></ul></ul></ul><ul><ul><ul><li>Easy to cross-link requirements, model, code and test data and to synchronize this continuously </li></ul></ul></ul><ul><ul><ul><ul><li>Required for safety standards, like ISO DIS 26262, DO-178B/C, etc. </li></ul></ul></ul></ul><ul><ul><ul><li>High degree of automation possible </li></ul></ul></ul><ul><ul><ul><ul><li>Enables parallel development and test of embedded software </li></ul></ul></ul></ul>
    5. 5. IBM Rational Rhapsody TestConductor Add On Model Based Testing with Rational Rhapsody <ul><li>Visual test definition for improved collaboration </li></ul><ul><li>Automated test execution, monitoring and test architecture creation </li></ul><ul><li>Early validation of requirements during systems engineering </li></ul><ul><li>Automate unit and regression testing helping improve software quality </li></ul>SW design SW implementation & unit test Model Based Testing Ensure Correctness Implementation Model Based Testing Ensure Correctness Specification & Design Requirements capture & analysis Systems analysis & design System acceptance (Sub-)System integration & test Module integration & test
    6. 6. Key Enablers of Model Based Testing Requirements, Design, Test Traceabililty Design level debugging Achieve Quality by Design Integrated Design & Test Environment Visualize Test Cases Automate Testing Tasks Reporting Testing Results & Coverage Automate Test Cases Generation
    7. 7. Design Level Debugging <ul><li>Push-Button Execution to quickly debug the model </li></ul><ul><ul><li>The best way to minimize defects early! </li></ul></ul><ul><ul><li>Debugging at the design level! </li></ul></ul><ul><ul><li>Can execute simultaneously with code level debugger! </li></ul></ul><ul><ul><ul><li>Host level Debugging </li></ul></ul></ul><ul><ul><ul><li>Target based execution </li></ul></ul></ul>Design level debugging
    8. 8. Capture test cases with UML <ul><li>Based on OMG’s standard UML Testing Profilie ( www.omg.org ) </li></ul><ul><li>Specify test cases visually for better communication across teams </li></ul><ul><li>Creating code tests cases or importing Cunit/Cpp unit tests also possible </li></ul>Sequence Diagram Test Case Flowchart Test Cases Statechart Test Case Visualize Test Cases
    9. 9. Integrated Design and Test Environment Manage test cases within Rational Rhapsody <ul><li>Common Browser for design and test information </li></ul><ul><ul><li>Syncs information to maintain consistency between design and test </li></ul></ul><ul><li>Apply model based testing to external code </li></ul><ul><ul><li>Visualize interfaces in Rhapsody </li></ul></ul>Design Artifacts Test Artifacts Test Execution Reports Integrated Design & Test Environment
    10. 10. Automate Quality <ul><li>Automatically create test architecture </li></ul><ul><ul><li>Creates a System Under Test (SUT), test components and test context </li></ul></ul><ul><li>Apply model based testing to external code </li></ul><ul><ul><li>Code is developed outside of Rhapsody </li></ul></ul><ul><ul><li>Visualize code interfaces in Rhapsody and apply model based testing </li></ul></ul>Automatically Created Test Architecture Automate Testing Tasks
    11. 11. Model Driven Test Generation IBM Rhapsody ATG <ul><li>Offers Structural / Coverage Testing </li></ul><ul><ul><li>Generates Test cases based on the “detailed” design </li></ul></ul><ul><li>Automatically generates test cases with high coverage of the design </li></ul><ul><ul><li>Model coverage : Covers states, transitions, operations, event generation </li></ul></ul><ul><ul><li>Code coverage : Generates all relevant combinations of inputs for MC/DC </li></ul></ul><ul><li>Comments: </li></ul><ul><ul><li>Users can always choose to manually create test cases to address special needs </li></ul></ul><ul><ul><li>Consistent with the UML Testing profile </li></ul></ul>Automate Test Cases Generation
    12. 12. Design for Testability – Model Driven Test Generation <ul><li>ATG (automatic test generation) offers model-driven test generation (consistent with the emerging UML testing profile) </li></ul><ul><li>Generates test cases with high coverage of the model </li></ul><ul><li>Covers states, transitions, operations, generation of events </li></ul><ul><li>Covers all relevant combinations of inputs for MC/DC analysis </li></ul><ul><li>Model and MC/DC coverage – required for DO-178B/ED12B </li></ul><ul><li>Identifies cases for potentially dead portions of the model </li></ul><ul><li>Test cases can be exported and reused (as sequence diagrams and XMI to Rational Rhapsody TestConductor Add-on/ third-party tools for execution on target) </li></ul>Automate Test Cases Generation
    13. 13. Requirements-driven testing <ul><li>Quick definition and execution of model and requirement-aware tests </li></ul><ul><ul><li>Unit testing and regression testing </li></ul></ul><ul><ul><li>Reuse design scenarios as test cases </li></ul></ul><ul><li>Requirement change impact and analysis </li></ul><ul><ul><li>Know which part of the model or which tests are affected by changing requirements </li></ul></ul>Pass/fail results can be synchronized with RM tool Requirements, Design, Test Traceabililty
    14. 14. Model Based Test Spans the Development Lifecycle <ul><li>Integrated traceability from requirements to design to test cases </li></ul><ul><li>Manage execution of test cases and results reports using Rational Quality Manager </li></ul><ul><li>Mitigate project risks with continuous QA statistics </li></ul>System Functional Analysis and Architectural Design Software Design and Implementation DOORS Team Concert Quality Manager Rhapsody Designer for Systems Engineers Rhapsody Developer Team Concert Configuration & Change Mgmt Release Management Requirements Definition & Management Test Management Model Driven Testing Requirements, Design, Test Traceabililty
    15. 15. Requirements to Test Results Coverage <ul><li>Automated reporting of test results </li></ul><ul><ul><li>Requirement to test coverage table </li></ul></ul><ul><ul><li>Test Coverage results </li></ul></ul><ul><ul><li>Complete test results in the reports </li></ul></ul>Reporting Testing Results & Coverage
    16. 16. iPLON Smarter solar power solutions <ul><li>What’s smart? </li></ul><ul><ul><li>Remote management and control of photovoltaic systems </li></ul></ul><ul><ul><li>Collection and analysis of power consumption data </li></ul></ul><ul><li>Smarter business outcomes </li></ul><ul><ul><li>Savings of approximately €10,000 per product due to 25% defect reduction </li></ul></ul><ul><ul><li>Reduced development time for a new product line by 60% (five months down to two months) </li></ul></ul><ul><li>How Rational enables smarter products </li></ul><ul><ul><li>Model driven development to accelerate reuse of subsystems and software </li></ul></ul><ul><ul><li>Model driven testing to improve quality and reduce product development cost </li></ul></ul>“ Rational Rhapsody enables our system engineers and software developers to improve productivity, quality and communication by abstracting complex designs graphically, automating the development process and finding defects early.”
    17. 17. EWE Group – BTC Embedded Systems AG Smarter energy metering for sustainable energy supply <ul><li>What’s smart? </li></ul><ul><ul><li>Real time visualization of energy usage </li></ul></ul><ul><ul><li>Empowering consumers with information to help reduce their energy consumption </li></ul></ul><ul><ul><li>Enables consumers to save costs and reduce peak energy loads </li></ul></ul><ul><li>Smarter business outcomes </li></ul><ul><ul><li>On time delivery of high quality, robust system </li></ul></ul><ul><ul><li>Consumers reduced energy costs by 10% typically </li></ul></ul><ul><ul><li>EWE recognized with environmental and innovation leadership awards </li></ul></ul><ul><li>How Rational enables smarter products </li></ul><ul><ul><li>Model-based development manages the complexity of developing an interconnected system </li></ul></ul><ul><ul><li>Model Driven Testing helps improve quality and reduce product development costs </li></ul></ul>“ Rational Rhapsody with TestConductor solution provided all the needed features, functions and workflows to manage complexity and automate testing for on time and high quality delivery of our trio Smart Box Meter system “
    18. 18. Ensure Success with Rational Process and methodology <ul><li>Process framework workshops </li></ul><ul><li>Rational Harmony family of Best Practices and Processes </li></ul><ul><li>Process training </li></ul>Implementation services <ul><li>Adoption quick starts </li></ul><ul><li>Deployment support </li></ul><ul><li>Project architecture workshops </li></ul><ul><li>Project management </li></ul><ul><li>Planning support </li></ul><ul><li>Escalation/risk mitigation </li></ul>Training and mentoring <ul><li>Product familiarity </li></ul><ul><li>Product expertise and specialization </li></ul><ul><li>Technology transfer </li></ul><ul><li>Adoption mentoring </li></ul><ul><li>e-Learning </li></ul>Technical services <ul><li>Measured Capability Improvement Framework (MCIF) </li></ul><ul><li>Product optimization and customization </li></ul><ul><li>Tool configuration </li></ul>
    19. 19. © Copyright IBM Corporation 2011. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others. <ul><li>Learn more at: </li></ul><ul><li>IBM Rational software </li></ul><ul><li>IBM Rational Software Delivery Platform </li></ul><ul><li>Process and portfolio management </li></ul><ul><li>Change and release management </li></ul><ul><li>Quality management </li></ul><ul><li>Architecture management </li></ul><ul><li>Rational trial downloads </li></ul><ul><li>Leading Innovation Web site </li></ul><ul><li>developerWorks Rational </li></ul><ul><li>IBM Rational TV </li></ul><ul><li>IBM Business Partners </li></ul><ul><li>IBM Rational Case Studies </li></ul>