180 likes | 312 Views
Testing CIS 726. Karl D. Remarais & Karthik Gundimeda. Software Testing can be stated as the process of validating and verifying that a software program: meets the business and technical requirements that guided its design and development; works as expected; and
E N D
TestingCIS 726 Karl D. Remarais & KarthikGundimeda
Software Testing can be stated as the process of validating and verifying that a software program: • meets the business and technical requirements that guided its design and development; • works as expected; and • can be implemented with the same characteristics. It is commonly believed that the earlier a defect is found the cheaper it is to fix it. Software Testing
Unit Testing • Integration Testing • Regression Testing • Acceptance testing • System Testing • Performance Testing Testing Levels
Traditional CMMI or waterfall development model • Agile or Extreme development model The Testing Process
Unit Testing - JUnit, CppUnit, NUnit, etc... • Performance Testing – Jmeter • Acceptance Testing – Fitnesse • Functional Testing (UI) – Selenium • Regression Testing – CruiseControl • Integration Testing - Ant, NAnt, Make, etc... Testing Tools
Unit testing with code coverage using EclEmma • Integration testing/ black box testing of each module • System testing • Performance testing • Comments and suggestions from the team members Applying testing methods to the project
Verify the functionality of each method in a given class by coding one or more test case for each public method. • Use EclEmma to check that we have 100% of code coverage. Unit testing with code coverage using EclEmma
Verify that each module of the system works properly and are producing the expected values for a given input. • Database and persistence layer • Client manager • Patient manager • Simulators and services • Other services • GUI Integration testing/ black box testing for each module
Verify that the system comply with the specified requirements. Our goal is to test the entire system after the integrations of all the modules • Define some domains and test the boundary values System testing
1. JMeter Producer Sampler • The Producer Sampler will send messages to an ActiveMQ Server. The Producer Sampler has the following parameters: • Server URL • Duration (min) • No. of Producer • Message Size (bytes) • Messaging Domain • Message Interval 2. JMeter Producer Listener Performance testing
3. JMeter Consumer Sampler The Consumer Sampler has the following parameters: • Server URL • Duration (min) • No. of Consumer • Messaging Domain 4. JMeter Consumer Listener Performance testing