Automated Testing:Continuous Integration and Execution Strategy

Automated Testing

One of the important part of automated testing in organization is continuous integration.Quick feedback of test results as well as automatically running tests on different browsers is an import cog that needs to work to keep the Agile process running smoothly.

Let’s look at some of the key parts and then soon I will do a post on how I integrated Selenium Tests with Hudson

1)Continuous build server

A continuous build server will make your life lot easier.Tools such as Hudson,CruiseControl are quite commonplace in small to medium size organzations and helps in neatly arranging and scheduling tests along with numerous other benefits.This will help to set dependencies and schedule your automated tests.E.g I want to run Smoke tests after every checkin of code.This fits nicely into the paragdim of   “build deploy test”.Additionally this tools provide numerous plugins which integrates nicely with other open source tools such as Selenium Grid and makes your life easier in terms of   execution and reporting.

2)Execution Strategy

One of the key benefits of automation is to code once and then run on multiple browsers/devices.To integrate this in your continuous integration strategy it’s important to understand which option will be better for your organization

a)Setup In-house machines

While this might be costly overall (initial investment in hardware/software,maintenance etc),it gives you greater control         over how you want to execute your automated testcases and reporting to a wider team.Lot of companies use virtualization to optimize their use of machines.Smart scheduling of execution,neat error handling in your testcases are other factors which if implemented correctly can be a right choice for your execution strategy

b)Execution in Cloud

Last couple of years companies have driven toward shifting their IT infrastructure to cloud and QA teams have taken a leaf from their IT counterparts and are taking advantage of Cloud by shifting their automation execution to cloud.The needs to automated testing fits nicely into Cloud paradigm.Companies such as Amazon EC2 and SauceLabs are popular in this area.

In the next post I will go into a real life example of Hudson integration with Selenium tests and setting it up in-house architecture.

Follow us on twitter @Apexon

Interested in our Testing Services?

Please enable JavaScript in your browser to complete this form.
Checkboxes
By submitting this form, you agree that you have read and understand Apexon’s Terms and Conditions. You can opt-out of communications at any time. We respect your privacy.

Other stories you may enjoy...

Healthcare Apps and the Need for Security

One of the most exciting areas in tech right now promises to be “the most personal” ever. A key aspect of making wearable devices like the Apple Watch personal is through...

Developing an App for the 2020 General Election?

Here is a thought: With the UK General Election having just finished, could the next one in 2020 be the first to use a mobile app to allow people to vote? The polling...

Be honest. Describe the state of your test cases.

“There’s some dead wood in there.” “Hmmm…. Someone really needs to clean them up.” “A little outdated.” For those reading this in the northern hemisphere,...