- Regression testing is a black box testing technique.
- Re-executing the tests that are impacted by the code changes.
- Regression testing make sure that the older programming still works with the new changes.
- Tools: selenium can be use for browser based regression testing
Thursday, June 23, 2016
Regression Testing
Acceptance Testing
- Testing technique performed to determine whether or not the software system has met the requirement specifications.
- Evaluate the system's compliance with the business requirements.
User Acceptance Testing
Business Acceptance TestingAlpha Testing
Beta Testing
Test the Functional Correctness and Completeness,Data Integrity,Data Conversion,Usability,Performance,Timeliness,Confidentiality andAvailability,Installability and Upgradability,ScalabilityDocumentation of the final system.
System Testing
- Black box testing technique
- Include both functional and non-functional testing/business process, use cases, or other high level descriptions of system behavior, interactions with the operating systems, and system resources..
- evaluate complete system functionalities.
- Types : Interchangeability, reliability ,performance ,functionality,Scalability ,load and stability,stress,regression.
- System testing is most often the final test to verify that the system to be delivered meets the specification and its purpose.
Monday, June 20, 2016
Selenium Testing Tool
- It is automating web applications for testing purposes.
- Not a tool, but an API.
- Supports multiple browsers.
- Supports multiple languages,Operating systems.(PHP,Java,C#,Ruby)
- can integrate with other APIs as well(JUnit,NUnit,TestNG)
- Open Source
- Google developers are working on this API.
- Four components- Web driver,IDE,Grid,Remote Control.
Selenium Web Driver
Browser based regression tests
Selenium IDE
A Firefox add-on that will do simple record-and-playback of interactions with the browser.allows us to record, edit, and debug tests.
only work on Firefox.
Tuesday, June 7, 2016
Integration Testing
- Testing of combined parts of an application to determine if they function correctly.
- Two ways, Bottom-up integration and Top-Down integration
- Top-Down integration-highest-level modules are tested first and progressively, lower-level modules are tested thereafter.
- Bottom-up integration low-level modules are tested first and progressively, higher-level modules are tested thereafter.
- Integration testing tests interfaces between components.
- After integrating two different components together testers do the integration testing.
Integration testing tools
- JUnit
- Nested Runner
Sunday, June 5, 2016
Unit Testing
- Each unit is tested separate before integrating them in to modules.
- This give the ability to verify that the system functions work as expected.
- The goal of unit testing is to isolate each part of the programmer and show that individual parts are correct in terms of requirements and functionality.
- unit tests are basically written and executed by software developers.
- White box texting method is used for executing the unit test.
Advantages of unit testing
- Issues are found at early stage,the issues can be found very early and can be resolved then and there without impacting the other piece of codes.
- Unit testing helps in maintaining and changing the code. chances of impact of changes to any other code gets reduced.
- Since the bugs are found early in unit testing hence it also helps in reducing the cost of bug fixes.
- Unit testing helps in simplifying the debugging process.
- J Unit is a framework that I use for writing both unit and integration tests. it is the most popular testing framework for Java programming language
- Mockito is the most popular mocking framework for writing unit tests.
- Db Unit is a JUnit extension that can be used to initialize the database into a known state before each integration test and ensure that the database contains the correct data
Subscribe to:
Posts (Atom)