{"id":13519,"date":"2018-07-20T15:40:35","date_gmt":"2018-07-20T14:40:35","guid":{"rendered":"http:\/\/www.devopsonline.co.uk\/?p=13519"},"modified":"2018-07-20T15:40:35","modified_gmt":"2018-07-20T14:40:35","slug":"the-relationship-between-continuous-testing-non-functional-testing","status":"publish","type":"post","link":"https:\/\/devopsnews.online\/the-relationship-between-continuous-testing-non-functional-testing\/","title":{"rendered":"The relationship between continuous testing & non-functional testing"},"content":{"rendered":"
Firstly, let\u2019s understand what is meant by continuous testing. The following definition from Wikipedia, is good enough for our purposes: \u2018continuous testing is the process of executing automated tests as part of the software delivery pipeline in order to obtain feedback on the business risks associated with a software release candidate as rapidly as possible\u2019.<\/p>\n
There are some key points that come out of this definition:<\/p>\n
It would be true to say that continuous testing, continuous integration and continuous deployment are all part of DevOps, enabling the feedback loop that drives an informed, agile and robust approach to enterprise software development and deployment.<\/p>\n
Non-functional testing refers to testing the way a system operates rather than specific system behaviour. Whilst non-functional testing can also encompass security and acceptance testing, the most common use case is testing software performance: reliability and scalability under load.<\/p>\n
Let\u2019s look in more detail at the key points from our definition of continuous testing and how they align with non-functional testing requirements.<\/p>\n
Delivering non-functional testing requires automation and there is a wide range of tooling available, both licensed and open source. Historically this has applied mainly to system testing carried out late in the SDLC, leaving little time to correct any problems uncovered by testing.<\/p>\n
Non-functional test automation now increasingly extends into Dev, where the move to modular or microservice-based architecture simplifies testing at the component level. This is often accomplished using open source tooling, such as JMeter (jmeter.apache.org) which has a powerful scripting engine and is easy to deploy.<\/p>\n
Continuous non-functional testing is relatively simple to integrate into the Dev process, either ad-hoc or as part of the overnight build\/test\/deploy. This allows trending of component performance across builds and early detection and correction of coding changes that inadvertently cause performance regression.<\/p>\n
The increasingly common use of highly scalable cloud-based test environments leveraging endpoint mock, stub or service virtualisation can allow developers to test component performance in sprint against production SLA\u2019s, something unheard of even five years ago.<\/p>\n
Non-functional testing that is limited to system testing late in the SDLC is poorly placed to provide timely feedback to the Business on application performance. The feedback loop that is a key goal of implementing DevOps needs to function right across the SDLC to be truly effective.<\/p>\n
Ideally continuous non-functional testing should be implemented in the following areas:<\/p>\n
Feedback data can take several forms but the most important consideration is visibility of application performance, good and bad, to relevant stakeholders. This means rapid feedback to Dev of performance-related bugs so they can be corrected and, if necessary, a new release prepared \u2013 including the dashboarding of test results demonstrating that an application is meeting or failing to meet the assigned performance goals.<\/p>\n
Many organisations leverage full-stack monitoring solutions like ELK and Graphite \/ Grafana to visualise application behaviour. It is vitally important that performance data is included to inform stakeholder groups tasked with key responsibilities, such as approving Dev team work items and application release candidates.<\/p>\n
Mitigating business risk is all about ensuring that core applications remain available, functionally stable and performant to end-users regardless of load. Implementing continuous non-functional testing in the areas previously described helps to make this happen by maintaining and improving the quality of release.<\/p>\n
The business impact of problems uncovered at each stage of testing can be quickly assessed, prioritised and corrected. This promotes early discovery of problems so the number and severity of non-functional software bugs naturally decrease and shifts left, benefiting the speed and quality of delivery.<\/p>\n
It is equally important to understand the ongoing performance of core software applications post-deployment. Regularly scheduled non-functional testing of production systems can help detect creeping performance regressions, often the cumulative result of many small releases.<\/p>\n
Scheduled BAU testing also provides confidence that production deployments are performance-ready in advance of peak events like Black Friday and Cyber Monday.<\/p>\n
Written by Independant Consultant,\u00a0Ian Molyneaux<\/p>\n","protected":false},"excerpt":{"rendered":"
Ian Molyneaux, Independent Consultant, talks in-depth about how continuous testing has a close relationship with non-functional testing, together driving an informed, agile and robust approach to enterprise software development and deployment<\/p>\n","protected":false},"author":2,"featured_media":13520,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","pmpro_default_level":"","footnotes":""},"categories":[2],"tags":[2984,558,2985,679,2982,1368,395,1938,2412,2983],"yoast_head":"\n