Presentation is loading. Please wait.

Presentation is loading. Please wait.

May08-21 Model-Based Software Development Kevin Korslund Daniel De Graaf Cory Kleinheksel Benjamin Miller Client – Rockwell Collins Faculty Advisor – Dr.

Similar presentations


Presentation on theme: "May08-21 Model-Based Software Development Kevin Korslund Daniel De Graaf Cory Kleinheksel Benjamin Miller Client – Rockwell Collins Faculty Advisor – Dr."— Presentation transcript:

1 May08-21 Model-Based Software Development Kevin Korslund Daniel De Graaf Cory Kleinheksel Benjamin Miller Client – Rockwell Collins Faculty Advisor – Dr. Suraj Kothari

2 May08-21 Model-Based Software Development  Component-level Testing  System Testing  User Testing

3 May08-21 Model-Based Software Development Component-Level Testing  White-box unit testing of each class and method Boundary-value tests every method and verifies results Tests at the class level and lower Tests relationships between classes with mock objects  All tests must pass or test suite will fail If any test does not pass, the bug will be recorded using Bugzilla  Test suite will run all unit tests automatically, and be run as part of a standard software build

4 May08-21 Model-Based Software Development Component-Level Testing  Unit tests use JUnit framework  Class relationships are tested using EasyMock mock object framework  Tests are run from within the Eclipse environment A special Eclipse Plug-in test launcher starts a new Eclipse environment and runs tests The test runner creates the Eclipse CDT project under test and copies relevant files in for the current test

5 May08-21 Model-Based Software Development Component-Level Testing  Results About 15% complete Tests cover all found bugs to verify they will not happen again Creation of bug reports in Bugzilla  Analysis JUnit test runner outputs total number of tests and number of passing tests Analyze percentage of passing tests 100% of tests pass right now

6 May08-21 Model-Based Software Development Component-Level Testing  Conclusion Areas of code that pass tests match expected component behavior Additional Component-level testing is required

7 May08-21 Model-Based Software Development System-level Testing  Subsystems to test Parser Matcher Connector Splitter Outputter

8 May08-21 Model-Based Software Development System-level Testing - Metrics  Parser CommentedStatement lists  Matcher BlockPieces  BlockConnector Block list

9 May08-21 Model-Based Software Development System-level Testing - Metrics  ModelSplitter System  MdlOutput “.mdl” file output

10 May08-21 Model-Based Software Development System-level Testing - Procedure  Subsystem output is not serializable Cannot directly save stage outputs for later use in comparisons Means subsystems cannot be tested individually  Instead, save enough information from each output to be able to verify correctness Saved information is compared after each stage using JUnit while running the system as a whole

11 May08-21 Model-Based Software Development System-level Testing - Analysis  Junit will fail on the first subsystem that fails To test subsystems that follow a failed subsystem, we can revert the code for that subsystem to a known good state  On failure, JUnit will report the point of failure We can then use the Eclipse debugger to investigate the problem

12 May08-21 Model-Based Software Development User Testing  Alpha tests Executed daily during implementation Advisor and Graduate Students also involved in Alpha test phase  Beta tests Executed during project demonstration for Rockwell Collins Client

13 May08-21 Model-Based Software Development User Testing  The operational Eclipse Plug-in will be tested by: Execution of Eclipse plug-in on C files Examine model outputted Expect model to be similar or match the model the C file was created from

14 May08-21 Model-Based Software Development User Testing  Test Method Design models to exercise various and specific areas of the plug-in and requirements Generate C files using Real-time Workshop Execution of Eclipse plug-in on C files  Equipment Real-time Workshop Eclipse

15 May08-21 Model-Based Software Development User Testing  Results Outputted model from Eclipse plug-in Creation of bug reports in Bugzilla  Analysis Manual comparison of original model to outputted model  Conclusions Based on bugs found and Analysis phase

16 May08-21 Model-Based Software Development  Component-level Testing  System Testing  User Testing


Download ppt "May08-21 Model-Based Software Development Kevin Korslund Daniel De Graaf Cory Kleinheksel Benjamin Miller Client – Rockwell Collins Faculty Advisor – Dr."

Similar presentations


Ads by Google