Software Testing Blogs: Load Testing, Unit Testing, Functional Testing

Unit Testing PL/SQL with DBUnit

August 9, 2012 0

PL/SQL is an Oracle’s procedural extension to SQL that allow to code the stored procedures in Oracle database. In this blog post, Nick Giles explains how he uses DbUnit to perform unit testing tor the stored procedures in Oracle. DbUnit is a JUnit extension (also usable with Ant) targeted at database-driven projects that, among other things, puts your database into a known state between test runs. In his solution Initial data and the expected output state of the tables containing the aggregated values are specified separately in two simple XML files. These are then referenced in a test method in a Java class along with the command to run the pre-calculation stored procedure. It worked so well that he could adopt a Test-Driven Development approach for his project.

Testing Legacy Servers with Arquillian

June 8, 2012 1

Arquillian is a open source platform sponsored by JBoss that simplifies the testing of Java middleware. It brings your test to the runtime, freeing you from the concern of managing the runtime from your test and letting you focused on writing your integration test logic. This blog post by Nikolas Frankel explains how to to test Java EE components on JBoss 5.1 EAP with Arquilian and TestNG. His conclusion is that Arquillian seems to be a nice in-container testing framework but seems to have to be polished around some corners. The usage of TestNG may be the culprit here.

.NET BDD with SpecFlow and White

June 5, 2012 0

This article provides a general overview of behaviour-driven development (BDD) in a .NET context. I presents some .NET tools for BDD (SpecFlow) and UI testing (White) and proceeds with a working example giving hands on BDD in .NET. SpecFlow is an open source tool aims to provide a pragmatic and frictionless approach to Acceptance Test Driven Development and Behavior Driven Development for .NET projects. White is an open source framework for automating rich client applications based on Win32, WinForms, WPF, Silverlight and SWT (Java) platforms. It is .NET based and does not require the use of any proprietary scripting languages. Tests automation programs using White can be written with whatever .NET language, IDE and tools.

Tips for Advanced Acceptance Test Driven Development

May 10, 2012 0

In this blog post, Mark Barne shares some useful tips and techniques to challenge those attempting to adopt acceptance test driven development within a corporate environment. Amongst the tips that I liked the best I will mention “Don’t clean up after tests”. Leaving the data created by the test can help immensely when issues are found. “Create unique contexts for each test”. To prevent tests stepping on each other’s toes if they are run in parallel, create a unique context for the test. “Don’t write the test at all.” If the story doesn’t have much value, or the the systems you are using are not in your control and are not test friendly then stop just short of automating it.

Unit Testing Javascript with QUnit and Sinon.js

May 9, 2012 0

In this blog post, Rob Stevenson-Leggett gives a detail presentation on how to start some simple Javascript unit tests using QUnit as the test framework and Sinon.js as a mocking framework. QUnit is a JavaScript test suite used by the jQuery project to test its code and plugins but is capable of testing any generic JavaScript code and even capable of testing JavaScript code on the server-side. Sinon.JS is a standalone test spies, stubs and mocks for JavaScript. It has no dependencies and works with any unit testing framework.

New Features in Visual Studio 11 Beta Unit Testing

May 1, 2012 0

This blog post presents the changes to unit testing made in the new version of Visual Studio. The Test View and Test Results windows have been replaced by the Unit Test Explorer, a new user interface that let developers quickly interact with their tests. Third party test frameworks are supported by a new test meta-runner that coordinates and controls the flow of data between the user interface and the underlying test frameworks. Visual Studio will also provide a true native unit testing framework for C/C++. A new test isolation and stubbing framework for managed .NET code called Visual Studio Fakes has been added. A new feature allows also to tests after each successful build. Some Visual Studio 2010 test features have been removed.

Acceptance Testing with Visual Studio 2010 Microsoft Test Manager

April 16, 2012 0

This blog post provides a detail process on how to write  acceptance tests for the UI using Visual Studio 2010 Microsoft Test Manager and Fit style tables.  Fit tables, originally defined for the fitnesse open source software testing tool, allow stakeholders and business analysts to enter expected input and the proper output in a tool they are comfortable wit, like word processor or a spreadsheet.

1 7 8 9 10 11 23