Test Automation overview

The use of special software to control the execution of tests and compare the expected results with the outcome provided by the tests, is called test automation.
With automated tests we can automate repeated actions which are time-consuming when performed manually, and ensure the functionality of our code. Test automation is critical for software development teams which produce software in short cycles in order to ensure that the software can be reliably released.

Greetings.

One of the things I find great about codebender is its large collection of hosted libraries and examples.
As this collection grows, we need to keep track the status of each example. If an example compiles successfully, its set of boards that it can compile against, the error that happened during compile in case of failure. It is a process that can be automated and we managed to do so with the help of Selenium.

Introduction

“Hello world!” This phrase should be common to all developers since it’s the first thing you get to do when learning a programming language. However, no actual program -especially modern web apps- is as simple as your first “hello world” program. Code complexity can escalate very quickly and debugging can become really challenging. That’s exactly where testing comes into play. Tested code is the only way to make sure your application will work as expected under any circumstances. Unit testing is a software testing method by which individual units of source code (methods) are tested in order to make sure they fulfill our expectations. codebender is written using the Symfony2 framework and PHPUnit is one of the main tools we use to unit test our code. In this tutorial, we’ll go through some examples of how to write basic tests, and explain the main aspects of unit testing.