Skip to content

Testing instructions for critical flows

Sudip Dadhaniya edited this page May 16, 2024 · 2 revisions

Installation and Activation

Test steps:

  1. Download the plugin
  2. Go to Plugins > Installed Plugins
  3. Click on the activate link
  4. Verify that there are no activation errors or conflicts with other plugins.
  5. Check that the relevant plugin information appears, i.e. Descriptions, Version.

Expected Result:

No activation errors or conflicts with other plugins should be displayed


Configuration and Setup

Test steps:

  1. Verify that the plugin allows users to input Azure Storage account credentials.
  2. Ensure that the plugin supports different storage types (blob, table, queue, file).
  3. Validate the handling of invalid credentials and configuration parameters.

Expected Result:

Changes should be saved successfully. For invalid credentials, an error message should displayed.


Connection and Authentication

Test steps:

  1. Test successful connection to Azure Storage using valid credentials.
  2. Test unsuccessful connection attempts with incorrect credentials.
  3. Verify handling of network errors during connection.
  4. Ensure that the plugin supports Azure AD authentication.

Expected Result:

Azure Storage connection should established using valid credentials.


File Storage

Test steps:

  1. Upload a file to Azure File Storage and verify its existence.
  2. Download a file from Azure File Storage and compare it with the original.
  3. Test file sharing and access control for shared files and directories.
  4. Verify support for file storage snapshots and versioning.

Expected Result:

A file should be saved to Azure Storage, and file sharing and access control for shared files should be implemented


Security and Access Control

Test steps:

  1. Ensure that the plugin supports secure connections (HTTPS).
  2. Verify that access keys and credentials are encrypted and stored securely.
  3. Test access control lists (ACLs) for various storage resources.

Expected Result:

The plugin should support secure connections (HTTPS). access keys and credentials should be encrypted and stored securely.


Error Handling

Test steps:

  1. Test the plugin's response to unexpected errors and exceptions.
  2. Validate error messages for clarity and accuracy.
  3. Confirm that the plugin gracefully handles transient errors and retries appropriately.

Expected Result:

The error message should be shown for unexpected errors and exceptions.


Performance and Scalability

Test steps:

  1. Measure the time taken for various operations under normal load.
  2. Test the plugin's performance with a large number of concurrent requests.
  3. Validate that the plugin scales well with increased data volume.

Expected Result:

For various operations, the site should work under normal load. a large number of concurrent requests site should work seamlessly.


Compatibility

Test steps:

  1. Test the plugin with different WordPress themes.
  2. Check for conflicts with other plugins.
  3. Verify that the plugin works seamlessly across different environments.

Expected Result:

The plugin should work seamlessly across different environments.


Security

Test steps:

  1. Ensure that the plugin adheres to WordPress security best practices.
  2. Verify that the plugin does not introduce vulnerabilities.

Expected Result:

The plugin should not introduce vulnerabilities.


Logging and Monitoring

Test steps:

  1. Ensure that the plugin generates relevant logs for different operations.
  2. Verify integration with Azure Monitor and other monitoring tools.

Expected Result:

The plugin should generate relevant logs for different operations.