Description: Testing the POS Processor module during the setup process in Smapp, including processor selection, benchmarking, and compatibility checks.
Priority: 1
Prerequisites: Smapp installed, OpenCL-supported processors (CPU/GPU) available, compatible drivers installed.
Test Cases: List of all the test cases for this scenario
01 - Valid Processor Detection
02 - Incorrect Driver Handling
03 - Benchmarking Process
04 - Manual Processor Selection
05 - Automatic Processor Selection
06 - Processor Compatibility with Different OS Versions
07 - Summary Screen Display
08 - Processor Performance Data
09 - No Processor Detected
10 - Error Handling for Benchmark Failures
Description: Verify if Smapp correctly detects and lists available processors with OpenCL support.
Steps:
- Launch Smapp and initiate POS setup.
- Navigate to the processor selection step.
- Check for the detection and listing of available processors.
Test Data: Systems with different OpenCL-supported processors.
Expected Result: All available processors with OpenCL support are correctly detected and listed.
Description: Validate the handling of incorrect or missing drivers for processors.
Steps:
- Launch Smapp on a system with unsupported or missing drivers.
- Proceed to the processor selection step.
- Observe how the application handles this scenario.
Test Data: Systems with missing or incorrect processor drivers.
Expected Result: Smapp does not show the processors on the POS Setup screen
Description: Test the benchmarking process for processor performance.
Steps:
- Start POS setup in Smapp.
- Reach the processor selection step and observe the benchmarking process.
- Check if the benchmarking provides performance metrics.
Test Data: Systems with various processors.
Expected Result: Benchmarking process runs smoothly, providing correct performance data for each processor. (both hashes per second and MiB/s)
Description: Ensure manual processor selection works as intended.
Steps:
- Initiate POS setup in Smapp.
- At the processor selection step, wait for the benchmark to complete.
- Manually select a processor from the list.
- Proceed to the next step.
Test Data: User action to manually select a processor.
Expected Result: The selected processor is acknowledged, and the user can proceed to the next step.
Description: Verify automatic processor selection when skipping the benchmark.
Steps:
- Begin POS setup in Smapp.
- During the processor benchmarking, choose to skip the step.
- Observe which processor is selected automatically.
Test Data: User action to skip the benchmark process.
Expected Result: The fastest processor is automatically selected when the benchmark is skipped.
Description: Check the compatibility of the POS Processor module with different operating systems.
Steps:
- Install Smapp on various operating systems.
- Attempt to run POS setup and reach the processor selection step.
- Observe processor detection and benchmarking behavior
Test Data: different operating systems (e.g., Windows, macOS, Linux).
Expected Result: POS Processor module functions correctly across different operating systems, with processors properly detected and benchmarked.
Description: Check the accuracy and completeness
of the summary screen after processor selection.
Steps:
- Complete the POS processor selection in Smapp, either manually or automatically.
- Proceed to the summary screen.
- Review the information displayed about the selected processor.
Test Data: Different scenarios of processor selection.
Expected Result: The summary screen accurately displays the details of the selected processor.
Description: Assess the accuracy of processor performance data displayed.
Steps:
- Launch POS setup in Smapp.
- At the processor selection step, observe the performance data displayed for each processor.
- Verify the accuracy of the generation speed (hashes per second) data.
Test Data: Systems with various processor types.
Expected Result: Accurate and reliable performance data is displayed for each processor.
Description: Test the application's behavior when no processor is detected.
Steps:
- Launch Smapp on a system without OpenCL-supported processors.
- Attempt to proceed through the POS setup to the processor selection step.
- Observe the application's response.
Test Data: Systems lacking OpenCL-supported processors.
Expected Result: Smapp appropriately notices the absence of OpenCL (error message displayed on the network screen)
Description: Test the application's error handling capabilities in case of benchmark failures.
Steps:
- Start POS setup in Smapp.
- Induce a failure in the benchmarking process (e.g., by overloading the processor or interrupting the process).
- Observe the application's response to the failure.
Test Data: Scenarios where the benchmarking process is interrupted or fails.
Expected Result: Smapp displays appropriate error messages and offers options to retry or proceed without benchmarking.