Node.js Test Automation using Oracle Developer Cloud- Simplified Abhinav Shroff - @abhinavshroff Principal Product Manager Oracle Development Tools and Frameworks OdevCYatra, July 2018
This is a Safe Harbor Front slide, one of two Safe Harbor Statement slides included in this template. One of the Safe Harbor slides must be used if your presentation covers material affected by Oracle’s Revenue Recognition Policy To learn more about this policy, e-mail: Revrec-americasiebc_us@oracle.com For internal communication, Safe Harbor Statements are not required. However, there is an applicable disclaimer (Exhibit E) that should be used, found in the Oracle Revenue Recognition Policy for Future Product Communications. Copy and paste this link into a web browser, to find out more information. http://my.oracle.com/site/fin/gfo/GlobalProcesses/cnt452504.pdf For all external communications such as press release, roadmaps, PowerPoint presentations, Safe Harbor Statements are required. You can refer to the link mentioned above to find out additional information/disclaimers required depending on your audience. Oracle Confidential – Internal
Nodejs Application Development Project Management Source Control Code Development Development API Stubbing System Testing Load Testing Testing Code Build Artifact Generation Deployment
Nodejs Application Development Project Management Source Control Code Development Development API Stubbing System Testing Load Testing Testing Code Build Artifact Generation Deployment
Testing your NodeJS Application – Getting Started Choose a Packaging tool. Choose API Mocking tool. Select your Test framework for NodeJS application. Select the Load testing tool. Go Agile. Now we need a platform – Will tell you later…. Oracle Confidential – Internal
NodeJS Testing Frameworks Needs Selenium Webdriver Mostly for behavior-driven testing No support for Assertion Libs No support for Async Ops Oracle Confidential – Internal
Why Load Test API ? Endurance Volume Stress Load Testing Performance Scalability Confidential – Oracle Internal/Restricted/Highly Restricted
Load Testing - Tools Java Based Python Based Oracle Confidential – Internal
API Stubbing – Why? To mitigate API dependency issues. For testing without hard coding API output. Making the API consumption plug and play even when it is not ready. Confidential – Oracle Internal/Restricted/Highly Restricted
API Stubbing - Tools Oracle API Platform Much more than a Mocking Tool A Quick API Mocking Tool Oracle API Platform Oracle Confidential – Internal
Are the Testing Tools enough? Oracle Confidential – Internal
Answer is …… No Oracle Confidential – Internal
Why? Oracle Confidential – Internal
Continuous Testing - Requirements Dev Ops Agile Oracle Confidential – Internal
Importance of Continuous Testing Early Defects Efficiency Increased Coverage Reduced Cost Reusability Execution Speed Oracle Confidential – Internal
Continuous Testing – DevOps Challenges Lack of standard DevOps Practice for Continuous Testing. Lack of standard DevOps Platform for implementation. Making DevOps and Agile work together. Confidential – Oracle Internal/Restricted/Highly Restricted
Infrastructure – You Need Development Infrastructure Team Infrastructure Version Management Issue & Task Tracking Automated Build/Test Team/Sprint Management Continuous Integration Code Review Continuous Delivery Documentation / Wiki Continuous Provisioning Team activity channel Agile development can help deliver better software faster. Increasing the agility for delivering features in your product in a more frequent pattern. But there are a bunch of tools you’ll need to make your team adopt agile propely.
DevOps Platform To stitch everything together Oracle Developer Cloud Service
Oracle Developer Cloud Service and The DevOps Cycle Plan Code Build Test Release Deploy Operate Monitor Plan Task tracking, Agile planning, wiki Code Git– version management Code review, snippets Build CI + Build Tools & Utilities Test JUnit & Selenium, Findbugs, Sonar deploy to QA Release & Deploy Deploy Plans, Provisioning, and configuring Developer Cloud Service covers most of the DevOps cycle Additional yellow spots are covered by Management Cloud Service
Developer’s Perspective Review Cloud or On-premise Dev, Test or Production Deploy Commit Track & Monitor Developers Developer Service Build Grunt GIT Tasks Wiki Cloud
Oracle Developer Cloud Service Architecture Oracle Compute Build Server Developer Cloud Tasks Git Code review Build Pipeline Oracle PaaS Oracle IaaS Non Oracle IaaS Deploy External Tools GitHub Jenkins/Hudson Slack/Hipchat WebHooks
Test Automation in Oracle Developer Cloud Develop and Push your Nodejs code to Git repository. Develop API stubbing for the dependency. Develop System Testing Automation Scripts Develop Load Testing Automation Scripts Deploy Application and API Stub Create a Build Pipeline for code build, API stubbing, system and load test automation Push your API stubbing, System and Load testing automation to Git Repo
Test Automation in Works Developer Cloud Build Package Deploy Application Container Cloud Access Mock API Load Test Install and Configure Mock API Unit Test Application Container Cloud Confidential – Oracle Internal/Restricted/Highly Restricted
Demo Confidential – Oracle Internal/Restricted/Highly Restricted
Q & A Confidential – Oracle Internal/Restricted/Highly Restricted
Thank You! Oracle Confidential – Internal