InfoQ Homepage Unit Testing Content on InfoQ
-
Cory Foy on Database Unit Testing
Cory Foy walks developers step-by-step through unit testing logic implemented at the database layer.
-
High abstraction level of DSLs to reduce the testing burden?
Inconsistencies between the user interface and user’s expectations can be an important source of bugs. According to Leonardo Vernazza, this is due the fact that the user and the UI do not talk the same language. Using a DSL, characterized by a high abstraction level, would be instrumental for avoiding the risk of translation errors and would therefore reduce the testing burden.
-
Next-Generation Functional Testing
What should the next generation of functional testing tools offer? The Agile Alliance is holding a workshop to envision the next-generation of functional testing tools, from October 11th to 12th. What do you think needs the most attention?
-
Selenium Grid: Web Testing in Parallel
Pervasive user-interface/acceptance testing can be a drag on test and therefore build speed. Selenium Grid offers the ability to run Selenium tests in parallel on one machine or on a farm of machines in a reliable, easy-to-use way. InfoQ speaks with the Selenium Grid team.
-
xUnit.net - Next Generation of Unit Testing Frameworks?
Jim Newkirk, creator of NUnit, has announced a new Unit Testing Framework called xUnit.net. The proclaimed successor to NUnit is supposed to get rid of NUnit's mistakes and shortcomings and add some best practices and extensibility to the framework.
-
TestMaker 5 Adds Distributed Test Support and Performance Comparison Utility
PutshToTest has released TestMaker 5.0 which allows developers to turn their unit tests into functional tests, load tests, and automated monitors. Among the new features in 5.0 are distributed test support, integration of SoapUI, and a new performance comparison utility.
-
Review: Continous Performance Management
Steven Haines from Quest has published an article demonstrating the use of performance analysis tools in the continuous build cycle as best practice and makes some thought provoking points about the cost of not doing so.
-
Is Selenium worth the pain?
Is Selenium worth the pain? Atlassian developer Nick Menere has asked that very question on the Atlassian Developer Blog. In his blog post Menere looks at the roadblocks found while trying to use Selenium to test two new Ajax features of JIRA 3.10.
-
Presentation: System Integration Testing with Spring
Spring provides a holistic solution that makes your application's use cases and subsystems easier to test. The emphasis is on testing outside a JEE server or container, thus greatly improving productivity. In this presentation, Spring Creator Rod Johnson discusses integration testing and the support that Spring provides for it.
-
JUnit 4.4 Released
The release of JUnit 4.4 sees the inclusion of the assertThat method, offering easier reading and new flexibility to the JUnit library.
-
Separating Views from Business Logic with Acropolis
Microsoft's GUI toolkits tend to encourage developers to tightly couple business logic with presentation. Comparing the original VB and ASP or WinForms and ASP.Net, one sees very little change in this regard. Acropolis is different though, and for the first time since MFC it looks like Microsoft is taking the concept of separation of concerns seriously.
-
Article: Unit-Testing XML
In this exclusive InfoQ article, Stefan Bodewig explains how to use the XMLUnit Java framework to write tests in the presence of XML.
-
Friend Assemblies and Unit Testing
A little known C# feature known as friend assemblies will be making its way to VB 9. This feature allows an assembly to grant access to its internals to another assembly.
-
Google SoC Series: Creating RSpec specs for Ruby runtimes
The number of Ruby implementations grows steadily, but something is missing: a Ruby specification. The behavior of the Ruby language and its standard libraries is defined in the code of the main Ruby implementation. Two Google SoC projects aim to fix this by creating executable RSpec specifications for Ruby. We caught up with Pedro Del Gallego who works on one of these projects.
-
Unit Testing Tips from Google
The QA engineers at Google share their unit testing advice in an ongoing series titled "Testing on the Toilet." The latest installment tackles a common problem: how can the unit tests themselves be refactored without accidentally invalidating the tests?