Test implementation - Sri01729/DHVANI GitHub Wiki
Dhvani Test Plan
Quality Assurance (QA) Testing
| Test Type | Description | Tools/Methods | Expected Outcome | Actual Outcomes |
|---|---|---|---|---|
| Navigation | Verify that all links and buttons navigate correctly. | Manual Testing | All navigational elements work as intended. | As expected |
| Functionality | Test forms submission, modals operation, and hover states. | Manual Testing | Functional elements perform correctly without errors. | As expected |
| Content | Check for spelling, image placement, and brand consistency. | Manual Review, Spell Check Tools | Content is error-free, images are correctly aligned, and brand style is consistent. | As expected |
| Brand Consistency | Ensure the application's visual and interactive elements are consistent. | Manual Review | Uniform appearance and behavior across all app components. | As expected |
Code Validation
| Test Type | Description | Tools/Methods | Expected Outcome | Actual Outcomes |
|---|---|---|---|---|
| Code Structure | Validate the use of semantic HTML, CSS and organization of JavaScript files. | HTML Validator, CSS Validator, Linting Tools | Code meets industry standards for semantics and organization. | As expected |
API Testing
| Test Case ID | API Feature | Test Case Description | Steps to Execute | Expected Outcome | Actual Outcomes |
|---|---|---|---|---|---|
| AT1 | Weather Data API | Test retrieval of weather data based on user location | 1. Send a request to the weather API with a known location2. Validate the response data matches the location | Accurate weather data for the specified location | As expected |
| AT2 | Location Services API | Verify location-based music recommendations | 1. Use the location services API to determine user's current location2. Check if the music recommendations are relevant | Relevant music recommendations for the user's location | As expected |
| AT3 | User Authentication and Authorization API | Test login and access control mechanisms | 1. Attempt to log in with valid credentials2. Try accessing restricted endpoints without proper authorization | Successful login and appropriate access control | As expected |
UX Testing
| Test Type | Description | Tools/Methods | Expected Outcome | Actual Outcomes |
|---|---|---|---|---|
| User Testing | Conduct sessions with real users to gather feedback on usability. | Interviews, Surveys | Insights into user satisfaction and areas for improvement. | Successfully received feedback from the users |
| Observational Testing | Perform interviews to understand user interactions and preferences. | Interviews, Observation | Qualitative data on user experience and interaction patterns. | Noted user interactions patterns. |
| Speed Testing | Evaluate page load speed, mobile responsiveness, browser compatibility. | Lighthouse, Google PageSpeed Insights | Application performs optimally on various devices and browsers. | Yet to be done after deploying in the aws server |
User Testing
| Test Case ID | Test Case Description | Steps to Execute | Expected Outcome | Actual Outcomes |
|---|---|---|---|---|
| UT1 | Able to signup on dhvani app | 1. Open Dhvani app2. Click signup button3. Enter name, mail and password. 4. Click signup | User details stored in the database. | As expected |
| UT2 | Able to login | 1. Open Dhvani app2 Enter mail and password. 4. Click login | Able to login the application | As expected |
| UT3 | Based on the climate play a music | 1. Open Dhvani app2. Allow the app to access weather data3. Click the sound button below | Music that fits the current weather conditions starts playing. | As expected |
| UT4 | Based on the location play a music | 1. Open Dhvani app2. Allow the app to access location data3. Click the sticky location icon button | Music that fits the current location or cultural context starts playing. | As expected |
| UT5 | Song playing based on mood | 1. Open Dhvani app 2. Select the mood by tuning button | Music that fits the mood starts playing. | As expected |
| UT6 | Current and upcoming songs display | 1. Open Dhvani app2. Select any mood3. Now click next song button | Currently playing and upcoming songs will be update in the playlist card. | As expected |
SEO Testing
| Test Type | Description | Tools/Methods | Expected Outcome | Actual Outcomes |
|---|---|---|---|---|
| SEO Evaluation | Examine keyword usage, meta tags, URL structure, and image alt texts. | SEO Audit Tools | Enhanced visibility in search engine results. | Yet to be done after deploying in the aws server |
Accessibility Testing
| Test Type | Description | Tools/Methods | Expected Outcome | Actual Outcomes |
|---|---|---|---|---|
| Accessibility | Assess screen reader compatibility, keyboard navigation, color contrast. | WAVE, AXE | The application is accessible to users with diverse abilities. | As expected |
Security Evaluation
| Test Type | Description | Tools/Methods | Expected Outcome | Actual Outcomes |
|---|---|---|---|---|
| Security | Test for proper permissions, login systems, and security models. | Security Audit Tools, Manual Testing | Secure application with no unauthorized access. | Asking permission from the user to access their location |