What DevOps Is
DevOps, an abbreviation of “Development & Operations”, is a methodology for software development which tries to integrate all development functions within one and the same cycle.
It calls for a mre solid coordination within various development stakeholders, namely Development, Operations and QA.
Thus, an ideal cycle according to DevOps shoul be like this:
- Writing code
- Building and deploying binaries on QA environment
- Implementing test cases
- Deploying onto Production through one smooth and integrated flow.
This approach obviously sets great emphasis on build, testing and deployment automation. Using Continuous Integration tools along with test automation tools is a norm for DevOps.
Test Automation in DevOps
To achieve the desired speed and agility, all testing processes need automating and configuring to run automatically after finishing the deployment on QA environment. This integration is achieved by using specialized tools for automation testing along with continuous integration tools. This also makes it essential to build a mature framework for automation testing with which to script quickly new test cases.
DevOps Success Tips:
- Test cases required to execute for some particular build should be identified.
- Test execution must be lean.
- QA and dev teams should work together and define the areas affected by a particular build as well as execute the related test cases along with sanity testing.
- To ensure an overall code coverage you should configure the specialized code analysis as well as coverage tools.
- Executing every regression test case is likely to become obsolete soon.
- Strategy of testing new features should be formalized. Thus, interim builds may be supplied to testers who in turn would write test scripts and execute them on the interim builds with the help of automation until the code proves stable enough to deploy onto Production environment.
- All testing environments should be standardized and their deployments automated.
- By using multiple automation techniques, QA must be able to run automation testing in various cross-platform environments.
- Executing tests in parallel reduces time-to-live enabling successful DevOps implementation.
- Each run should have its exit criteria so that after test results are received, a decision concerning moving to Production can be taken.
- Detected blocker and critical bugs should be reported, fixed and passed in the same chain prior to the code deployment.
The DevOps approach which derived from Agile seems to be the future of software development. If you are aiming to add some value to an operation chain with your automation efforts, mastering various continuous integration and automation tools is needed. In this way automation will get lean and adapt to changes quickly. It makes sense to work on an alpha, beta or UAT environment before deploying the project onto the production environment.
In conclusion, the main concept is that much automation is the core of an effective DevOps cycle, but you should implement it smartly and know when it is enough.
Check out our related articles:
Created: 24 Feb 2014
LET'S GET STARTED!