Services: Quality Assurance

 

Ensuring the best technology

A quality assurance system aims to increase the trust and credibility of products, processes, and services. At the same time it improves work processes and efficiency, in addition to allowing the company to have maximum control and prevention against defects and malfunctions.

Quality control is a necessity because we all make mistakes.

Think like this: would you buy a car, cell phone, or stove that had not been tested to the limit programmatically and randomly?

 

Quality Assurance Automation

Test automation is the use of software to control the execution of software tests through the application of strategies and tools, comparing the expected results with the actual results.

 

The main objectives are:

  • Reducing human involvement in manual activities;
  • The reduction of time required;
  • And final cost.

 

Why and What to automate

Regression tests can be boring, as they are repetitions of tests already carried out after modifications to a program. They seek to discover the existence of defects introduced or not covered originally in the development of changes to the program. These tests are usually developed slowly and need to be performed repeatedly and on different devices.

 

Benefits:

  • Avoid excessive manual labor
  • Provide feedback frequently
  • Reduce the likelihood of test task errors
  • Prevent errors before reaching the customer
  • Optimization of layout verification time
  • Executions can be started at any time or scheduled

 

What types of automated tests?

Functional tests

Execution of the main features presented on the website:

  • Calculate shipping
  • Register customer
  • Place Order

 

Visual Tests

Verification of the standard template with the one presented at the time of the test execution, for example:

 

  • Validation of alignments and positions
  • Validation of fonts and sizes
  • Color and content validation

 

Where to start? 

Functionalities considered critical should be one of the initial focuses of automation activities, as they are very important parts of the system, which will certainly be used a lot and will have high visibility.

Precisely for this reason, these features require special care.

 

Planning 

  • Understand the context
  • Write test cases before automating
  • Focus on business rules
  • Evaluate blocks
  • Use good practices

 

The architecture of automated functional testing tools

We use the best technologies available on the market to optimize automated testing scenarios.

With the focus on minimizing and optimizing the work of the entire development cycle.

Architecture Tool automated visual testing

In this flow of visual tests, once the test script is encoded in cypress and versioned in gitlab, we build through the CI / CD an execution pipeline where the environment for the execution of the tests will be built, when a test is started, it will call the external service of Percy.io that will generate in your app a build with the results of the executions.

With this result we can see the visual comparisons of the screens configured in the test.

 

Infrastructure

As mentioned in the planning, in the first moment we need to understand the context, that is, all software orientation with a business vision.

In the second moment, the technical phase of testing development begins, using the artifacts of the context, with the best tools and good development practices;

 

Execution pipelines

Validations in automated homologation and production through pipeline

Test-based approval process

  • Artefacts:
  • Test report
  • Approved release

Tool Examples:

  • GitLab (repository and pipeline)

 

Report

Cypress Dashboard Service is an optional web-based component that provides a number of resources related to test projects and test runs in Cypress.

It provides a visual representation of the test runs, their reports and status in a single web window. In addition, it is useful in planning and viewing test runs of Cypress test scripts.

The Cypress Dashboard service offers several other features. let’s understand some of them.

 

Notification

The architecture of the tool also allows you to send notifications for all test runs.

Containing in these notifications all the artifacts of positive/negative results and direct link to the dashboard and pipeline, to consult a more detailed view of the execution.

 

Presentation of the Tool

Proposal with tool maintenance

  • Analyst Suggestion / Hour 
  • Creation – 240 hours
  • Maintenance

 

Proposal with the availability of source code

  • Analyst Suggestion / Hour 
  • Creation – 240 hours

 

Other benefits

Upgrading VTEX components

  • Today VTEX continually updates its components, which may break the customizations generated in the front-end.

 

Any questions? Get in touch with our team to better understand how the automation of software quality tests can help your digital operations to be increasingly reliable and secure. Contact us!