STQA Report
STQA Report
REPORT ON
CROP INFORAMTION
SUBMITTED TO THE SAVITRIBAI PHULE PUNE UNIVERSITY, PUNE
IN THE FULFILLMENT OF THE REQUIREMENT
Of
Laboratory Practice - IV
Final Year (Computer Engineering)
Academic Year 2024-25
BY
Studying in BE Computer Engineering Course SEM-VII has successfully completed their LP- IV
Lab Mini-Project work titled “Dynamic website of crop information” at Sinhgad Institute of
Technology and Science, Narhe in the fulfilment of the Bachelor’s Degree in Engineering of
Savitribai Phule Pune University, during the academic year 2024-2025.
Dr. S.D.Markande
Principal
Place: Pune
Date:
Acknowledgement
I take this opportunity to acknowledge each and every one who contributed
for him valuable inputs , guidance and support throughout the course.
giving me all the help and important suggestions all over the Work. I thank all the
teaching staff members, for their indispensable support and priceless suggestions.
I also thank my friends and family for their help in collecting data, without
their help Course report have not been completed. At the end, my special thanks to
Onkar Vaidya
Mansi Kale
Sanika Mandhare
Ritika Kulkarni
Contents
PAGE NO
CHAPTER TITLE
1 Introduction 1
2 Objectives 3
3 Testing Strategy 4
5 Test Schedule 9
6 Result 10
7 Conclusion 17
18
8 References
1. INTRODUCTION
The crop information application is designed to assist farmers and agricultural professionals in accessing vital
crop data, including growth conditions, pest management, and market prices. The application will be web-
based, allowing for easy access across devices.
Selected System Environment and Platform
• Platform: Web-based application
• Frontend: React.js for dynamic user interface
• Backend: Node.js with Express for server-side logic
• Database: MongoDB for storing crop information and user data
• Hosting: AWS for scalable deployment
Programming Languages
• JavaScript: Used for both frontend and backend development
• HTML/CSS: For structuring and styling the web application
• JSON: For data interchange between client and server
Test Plan
Features to be Tested
1. User Authentication: Registration, login, and password recovery.
2. Crop Information Retrieval: Searching and filtering crop data based on various parameters.
3. Data Submission: Ability to submit new crop data or updates.
4. User Dashboard: Display of personalized crop information and alerts.
5. Responsive Design: Application usability across various devices.
6. Performance: Load times and responsiveness under varying user loads.
Bug Taxonomy
1. Functional Bugs: Issues with feature implementation or unexpected behavior.
2. Usability Bugs: Problems that affect user experience or interface design.
3. Performance Bugs: Slow load times or unresponsive features.
4. Security Bugs: Vulnerabilities in user authentication or data protection.
5. Compatibility Bugs: Issues arising from different browsers or devices.
Test Cases
Test Case 1: User Authentication
• Test Procedure:
5
1. Navigate to the login page.
2. Enter valid credentials and click "Login."
3. Verify successful login and redirection to the dashboard.
Test Case 2: Crop Information Retrieval
• Test Procedure:
1. Use the search bar to enter a crop name.
2. Select filters (e.g., region, season).
3. Verify that the correct crop information is displayed.
Test Case 3: Data Submission
• Test Procedure:
1. Navigate to the data submission form.
2. Fill in the required fields and submit.
3. Confirm that the data appears in the database.
Testing Strategy
Black-box Testing
• Focus: Functional and usability testing without knowledge of internal code structure.
• Tools: Selenium for automated UI testing; Postman for API testing.
White-box Testing
• Focus: Code coverage and path testing to ensure that all logic branches are executed.
• Tools: Jest for unit testing JavaScript functions; Mocha for integration tests.
Test Reports
Test Pass/Fail Criteria
• Pass: 90% of test cases executed successfully with no critical bugs.
• Fail: Any critical bug or less than 90% pass rate.
Acceptance Judgement
Based on the test results, the application will be considered acceptable if:
• All critical features are functioning as expected.
• No high-severity bugs remain unresolved.
• The application meets performance standards under expected load conditions.
6
2. OBJECTIVES
7
3. Testing Strategy
Types of Testing
• Functional Testing:
o Validate that all application features work according to requirements. This includes testing user
authentication, data retrieval, and data submission functionalities.
• Usability Testing:
o Assess the application's ease of use, navigation, and overall user experience through feedback
from actual users.
• Performance Testing:
o Evaluate the application's responsiveness and stability under various load conditions, ensuring
it can handle peak user activity without significant slowdowns.
• Security Testing:
o Identify vulnerabilities in the application to protect against unauthorized access, data breaches,
and other security threats.
• Compatibility Testing:
o Ensure the application performs consistently across different devices, browsers, and operating
systems.
2. Testing Approaches
• Black-box Testing:
o Focus on testing the application’s outputs based on given inputs without knowledge of the
internal code structure. This approach is ideal for functional and usability testing.
• White-box Testing:
o Test the internal workings of the application, including code paths, logic branches, and data
flow. This approach is essential for unit testing and ensuring code quality.
3. Testing Tools
• Selenium:
o Automated testing tool for functional testing of the web interface.
• Postman:
o API testing tool for validating backend services and data retrieval processes.
• Jest:
o JavaScript testing framework for unit tests, particularly for frontend components.
8
• pytest:
o Python testing framework for backend unit tests and integration tests.
• JMeter:
o Performance testing tool for simulating user loads and measuring response times.
4. Testing Phases
1. Unit Testing:
o Test individual components or functions of the application to ensure they perform as intended.
2. Integration Testing:
o Verify that different modules or services of the application work together seamlessly.
3. System Testing:
o Conduct end-to-end testing of the entire application to ensure all features and functionalities
work together as expected.
4. User Acceptance Testing (UAT):
o Involve real users in testing the application to gather feedback and ensure it meets user needs
and requirements before final deployment.
5. Test Environment Setup
• Development Environment:
o Use a local setup for initial testing of individual components.
• Staging Environment:
o Set up a staging environment that mirrors the production environment for integration and
system testing.
• Production Environment:
o Conduct final tests in the live environment to ensure everything functions correctly after
deployment.
6. Test Documentation
• Test Plans:
o Document the overall testing strategy, objectives, scope, and resources required.
• Test Cases:
o Create detailed test cases for each feature, outlining the test procedure, expected results, and
actual results.
• Bug Reports:
o Track and document any identified bugs, including their severity, status, and steps to reproduce.
9
7. Reporting and Feedback
• Test Reports:
o Generate reports summarizing test results, including pass/fail rates, identified bugs, and
recommendations for improvement.
• Feedback Loops:
o Establish processes for incorporating user feedback and addressing issues promptly, fostering
continuous improvement.
10
4. Hardware & Software Requirement
Hardware Configuration:
RAM 512MB
HARD DISK 10 GB
Server Side:
RAM 1GB
PROCESSOR 2.0GHZ
Software Requirement:
Client Side:
11
Server Side
12
5. Test Schedule
13
6. Result
Home Page
14
Add Data:
15
Search Data:
16
Delete Data:
17
Test Case:
18
7. CONCLUSION
In conclusion, the development of the crop information application using React.js 18 promises to
deliver a robust and user-friendly platform for agricultural professionals and farmers. By leveraging
the latest features and enhancements of React, such as automatic batching, concurrent rendering, and
improved data fetching with Suspense, the application will provide a seamless user experience. The
careful integration of testing strategies—including functional, usability, and performance testing—
ensures that the application is reliable and secure. With a focus on user needs and real-time data
access, this application not only empowers users with valuable insights but also fosters a community-
driven approach to agricultural practices, ultimately contributing to enhanced productivity and
informed decision-making in the farming sector.
19
8. References
20