Mbt using rhpsody_ANGUS TECHNOLOGIES
Upcoming SlideShare
Loading in...5
×
 

Mbt using rhpsody_ANGUS TECHNOLOGIES

on

  • 813 views

 

Statistics

Views

Total Views
813
Views on SlideShare
813
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • 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 Mbt using rhpsody_ANGUS TECHNOLOGIES Presentation Transcript

  • Model Based Testing using Rhapsody Presented By Suneel Santharam Senior Product Consultant
  • Development Process is Evolving… MDD MBT t 1960 1970 1980 1990 2000 2010 ASM C, C++, J
  • 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
  • Why using Model-Based Development and Test?
      • Model-based specifications are
        • Executable
          • early validation and verification of the designs against requirements
        • Visual
          • improved maintainability and communication
      • Model-driven Testing
        • Enables early and repeated testing
        • Bugs are found early; hence easier to fix with less cost
        • Easy to cross-link requirements, model, code and test data and to synchronize this continuously
          • Required for safety standards, like ISO DIS 26262, DO-178B/C, etc.
        • High degree of automation possible
          • Enables parallel development and test of embedded software
  • IBM Rational Rhapsody TestConductor Add On Model Based Testing with Rational Rhapsody
    • Visual test definition for improved collaboration
    • Automated test execution, monitoring and test architecture creation
    • Early validation of requirements during systems engineering
    • Automate unit and regression testing helping improve software quality
    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
  • 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
  • Design Level Debugging
    • Push-Button Execution to quickly debug the model
      • The best way to minimize defects early!
      • Debugging at the design level!
      • Can execute simultaneously with code level debugger!
        • Host level Debugging
        • Target based execution
    Design level debugging
  • Capture test cases with UML
    • Based on OMG’s standard UML Testing Profilie ( www.omg.org )
    • Specify test cases visually for better communication across teams
    • Creating code tests cases or importing Cunit/Cpp unit tests also possible
    Sequence Diagram Test Case Flowchart Test Cases Statechart Test Case Visualize Test Cases
  • Integrated Design and Test Environment Manage test cases within Rational Rhapsody
    • Common Browser for design and test information
      • Syncs information to maintain consistency between design and test
    • Apply model based testing to external code
      • Visualize interfaces in Rhapsody
    Design Artifacts Test Artifacts Test Execution Reports Integrated Design & Test Environment
  • Automate Quality
    • Automatically create test architecture
      • Creates a System Under Test (SUT), test components and test context
    • Apply model based testing to external code
      • Code is developed outside of Rhapsody
      • Visualize code interfaces in Rhapsody and apply model based testing
    Automatically Created Test Architecture Automate Testing Tasks
  • Model Driven Test Generation IBM Rhapsody ATG
    • Offers Structural / Coverage Testing
      • Generates Test cases based on the “detailed” design
    • Automatically generates test cases with high coverage of the design
      • Model coverage : Covers states, transitions, operations, event generation
      • Code coverage : Generates all relevant combinations of inputs for MC/DC
    • Comments:
      • Users can always choose to manually create test cases to address special needs
      • Consistent with the UML Testing profile
    Automate Test Cases Generation
  • Design for Testability – Model Driven Test Generation
    • ATG (automatic test generation) offers model-driven test generation (consistent with the emerging UML testing profile)
    • Generates test cases with high coverage of the model
    • Covers states, transitions, operations, generation of events
    • Covers all relevant combinations of inputs for MC/DC analysis
    • Model and MC/DC coverage – required for DO-178B/ED12B
    • Identifies cases for potentially dead portions of the model
    • 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)
    Automate Test Cases Generation
  • Requirements-driven testing
    • Quick definition and execution of model and requirement-aware tests
      • Unit testing and regression testing
      • Reuse design scenarios as test cases
    • Requirement change impact and analysis
      • Know which part of the model or which tests are affected by changing requirements
    Pass/fail results can be synchronized with RM tool Requirements, Design, Test Traceabililty
  • Model Based Test Spans the Development Lifecycle
    • Integrated traceability from requirements to design to test cases
    • Manage execution of test cases and results reports using Rational Quality Manager
    • Mitigate project risks with continuous QA statistics
    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
  • Requirements to Test Results Coverage
    • Automated reporting of test results
      • Requirement to test coverage table
      • Test Coverage results
      • Complete test results in the reports
    Reporting Testing Results & Coverage
  • iPLON Smarter solar power solutions
    • What’s smart?
      • Remote management and control of photovoltaic systems
      • Collection and analysis of power consumption data
    • Smarter business outcomes
      • Savings of approximately €10,000 per product due to 25% defect reduction
      • Reduced development time for a new product line by 60% (five months down to two months)
    • How Rational enables smarter products
      • Model driven development to accelerate reuse of subsystems and software
      • Model driven testing to improve quality and reduce product development cost
    “ 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.”
  • EWE Group – BTC Embedded Systems AG Smarter energy metering for sustainable energy supply
    • What’s smart?
      • Real time visualization of energy usage
      • Empowering consumers with information to help reduce their energy consumption
      • Enables consumers to save costs and reduce peak energy loads
    • Smarter business outcomes
      • On time delivery of high quality, robust system
      • Consumers reduced energy costs by 10% typically
      • EWE recognized with environmental and innovation leadership awards
    • How Rational enables smarter products
      • Model-based development manages the complexity of developing an interconnected system
      • Model Driven Testing helps improve quality and reduce product development costs
    “ 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 “
  • Ensure Success with Rational Process and methodology
    • Process framework workshops
    • Rational Harmony family of Best Practices and Processes
    • Process training
    Implementation services
    • Adoption quick starts
    • Deployment support
    • Project architecture workshops
    • Project management
    • Planning support
    • Escalation/risk mitigation
    Training and mentoring
    • Product familiarity
    • Product expertise and specialization
    • Technology transfer
    • Adoption mentoring
    • e-Learning
    Technical services
    • Measured Capability Improvement Framework (MCIF)
    • Product optimization and customization
    • Tool configuration
  • © 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.
    • Learn more at:
    • IBM Rational software
    • IBM Rational Software Delivery Platform
    • Process and portfolio management
    • Change and release management
    • Quality management
    • Architecture management
    • Rational trial downloads
    • Leading Innovation Web site
    • developerWorks Rational
    • IBM Rational TV
    • IBM Business Partners
    • IBM Rational Case Studies