Presentation is loading. Please wait.

Presentation is loading. Please wait.

Implementing Full-Stack Test Automation for Drupal 8

Similar presentations


Presentation on theme: "Implementing Full-Stack Test Automation for Drupal 8"— Presentation transcript:

1 Implementing Full-Stack Test Automation for Drupal 8
Anastasios Daskalopoulos

2 Test Automation For Drupal 8
The Cost of Buggy Software Is Much Greater Than We Think The National Institute of Standards and Technology Has Calculated That Software Bugs Cost $59.5 Billion Annually Just in the U.S.! Bugs Are Inevitable In Every Software Development Project Losses From Buggy Software Will Be Reduced By Continuous Testing As Part of the Development Process

3 Test Automation in Drupal 8
Testing Should Never Be An Afterthought! Do Not Save Testing For The End of The Project, “If You Have Time . . .” Automated Tools Now Make It Possible To Create Tests During Development And To Execute Tests Daily And Get Immediate Test Results

4 Test Automation For Drupal 8
What Can A Development Team Do To Increase Testing Their Software During Every Stage? Test Automation Traditional Test Automation Functional Testing of Features That Require Repetitive Actions: Entering Numerous Values into Fields, Button Pushing, etc. Regression Test Sets

5 Test Automation For Drupal 8
Brief Discussion of DevOps 1. Code 2. Build 3. Test 4. Package 5. Release 6. Configure 7. Monitor We will briefly discuss how Test Automation impacts all of these aspects of DevOps.

6 Test Automation For Drupal 8
The Role of Test Automation in DevOps A. The Role of Testing in DevOps B. Get Developers to Test Quickly with Test Automation C. Test Automation Advantages i. Test Automation is Easy Software Development a. The Features Are Already Known and Approved b. Small or Non-Existent Learning Curve ii. The Fastest Kind of Testing

7 Test Automation For Drupal 8

8 Test Automation For Drupal 8
New DevOps Idea of Test Automation Continuous Testing Is A Fundamental Part of Continuous Integration Creating & Executing Tests As Part Of The Development Process Test-Driven Development Create Tests First, Then Code So The Tests Pass

9 Test Automation For Drupal 8
Acceptance Test-Driven Development Acceptance Tests Are Created First and Used As Communication Tool With Developers ATDD Tests Are Customer-Oriented & From the Users’ Point of View Development and Test Executions Run In Integrated Fashion Until The Tests Pass

10 Test Automation For Drupal 8
Let Drupal 8 Create The Tests Add Controller To Module With Drupal Console: Option To Add A Unit Test The Developers Should Edit and Expand This Test, And Add Even More Tests PHPUnit in Drupal 8 PHPStorm – Run Tests in PHPStorm with Drupal 8 PHPUnit Tests Can Be Run in Jenkins

11 Test Automation For Drupal 8
Test Automation for Functional Tests Black Box Testing – Create Tests That Examine What The System Actually Does Input Is Repeatedly Sent Through The System And Expected Output Is Examined Tools Such As Nightwatch, Nightmare, Casperjs and Mocha Are Javascript-based Testing Frameworks The above test frameworks can also be used to create and execute end to end tests.

12 Test Automation For Drupal 8
Acceptance Test Automation Tools Cucumber Robot Framework FitNesse These Tools Tests The Developed Software At A Higher Level To Verify That End User Requirements Have Been Met

13 Test Automation For Drupal 8
In Conclusion Testing should be planned early and started along with development Free test automation tools are available for every stage of development Test automation should be regarded and planned as a quick and easy development project The main point of test automation is to find bugs and not only to confirm that the code “works” well.


Download ppt "Implementing Full-Stack Test Automation for Drupal 8"

Similar presentations


Ads by Google