Business Layer Testing and Data Layer Testing
Posted By : Kishor Kumar Singh | 31-Oct-2018
Business Layer Testing:-
Business layer testing focuses on finding errors in the business logic of your Internet application. You will find this layer very similar to testing stand-alone applications in that you can employ both white and black-box techniques. You will want to create test plans and procedures that detect errors in the application’s performance requirements, data acquisition, and transaction processing. You should employ white-box approaches for components developed in-house because you have access to the program logic. However, black-box testing techniques are your primary testing approach for this layer. You will start by developing test drivers to unit-test the individual components. Next, you can perform a system test to determine whether all the components work together correctly. When conducting a system test for this layer, you need to mimic the steps any user performs when purchasing a Software product or service. For example, for an e-commerce
stand-alone CGI modules written in C or Perl.
Regardless of your approach, there exist certain characteristics of your application that you should always test. These areas include the following:
• Performance. Check to watch whether the application meets documented performance
specifications (Normally specified in response times and throughput rates).
• Data validity. Test to find errors in data/Information collected from customers.
• Transactions. Check to uncover errors in transaction processing, which may include items
like credit card processing, e-mailing verifications, and calculating sales tax.
Data Layer Testing:-
Once your site is up and running, the data you collect become very valuable. Credit card numbers, payment information, and user profiles are examples of the types of data you may collect while running your e-commerce site. Losing this information could prove disastrous and crippling to your business. Hence, you should have to develop a set of procedures to protect your data storage systems.
During Testing of the data layer, it consists primarily of testing the database management system that your application uses to store and retrieve information. Small sites data in text files, but complex
One of the most challenge associated with testing this layer is duplicating the production environment. You must use equivalent hardware platforms and software versions to conduct valid tests.
queries(SELECTs), and transactions.
• Data integrity. To Verify that correct and accurate data is stored.
• Fault tolerance and recoverability. Maximize the MTBF and minimize the MTTR.
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Kishor Kumar Singh
Kishor Kumar Singh is highly dedicated towards work and he is a great team player. He believes that “No amount of testing can prove a software right, a single test can prove a software wrong".