Skip to content

Latest commit

 

History

History
198 lines (110 loc) · 5.88 KB

POSprocessor.md

File metadata and controls

198 lines (110 loc) · 5.88 KB

Test Scenario

Unique ID: POSProcessor

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


Test Cases

Test Case ID: POSProcessor-01

Description: Verify if Smapp correctly detects and lists available processors with OpenCL support.

Steps:

  1. Launch Smapp and initiate POS setup.
  2. Navigate to the processor selection step.
  3. 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.


Test Case ID: POSProcessor-02

Description: Validate the handling of incorrect or missing drivers for processors.

Steps:

  1. Launch Smapp on a system with unsupported or missing drivers.
  2. Proceed to the processor selection step.
  3. 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


Test Case ID: POSProcessor-03

Description: Test the benchmarking process for processor performance.

Steps:

  1. Start POS setup in Smapp.
  2. Reach the processor selection step and observe the benchmarking process.
  3. 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)


Test Case ID: POSProcessor-04

Description: Ensure manual processor selection works as intended.

Steps:

  1. Initiate POS setup in Smapp.
  2. At the processor selection step, wait for the benchmark to complete.
  3. Manually select a processor from the list.
  4. 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.


Test Case ID: POSProcessor-05

Description: Verify automatic processor selection when skipping the benchmark.

Steps:

  1. Begin POS setup in Smapp.
  2. During the processor benchmarking, choose to skip the step.
  3. 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.


Test Case ID: POSProcessor-06

Description: Check the compatibility of the POS Processor module with different operating systems.

Steps:

  1. Install Smapp on various operating systems.
  2. Attempt to run POS setup and reach the processor selection step.
  3. 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.


Test Case ID: POSProcessor-07

Description: Check the accuracy and completeness

of the summary screen after processor selection.

Steps:

  1. Complete the POS processor selection in Smapp, either manually or automatically.
  2. Proceed to the summary screen.
  3. 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.


Test Case ID: POSProcessor-08

Description: Assess the accuracy of processor performance data displayed.

Steps:

  1. Launch POS setup in Smapp.
  2. At the processor selection step, observe the performance data displayed for each processor.
  3. 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.


Test Case ID: POSProcessor-09

Description: Test the application's behavior when no processor is detected.

Steps:

  1. Launch Smapp on a system without OpenCL-supported processors.
  2. Attempt to proceed through the POS setup to the processor selection step.
  3. 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)


Test Case ID: POSProcessor-10

Description: Test the application's error handling capabilities in case of benchmark failures.

Steps:

  1. Start POS setup in Smapp.
  2. Induce a failure in the benchmarking process (e.g., by overloading the processor or interrupting the process).
  3. 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.