InfoQ Homepage Unit Testing Content on InfoQ
-
Microsoft to Offer Live Unit Testing in Visual Studio 2017
With more features being pushed down into less expensive versions, Microsoft is always looking for ways to justify the hefty price tag for Visual Studio Enterprise Edition. New for this year, the headline feature is “live unit testing”.
-
Writing Good Unit Tests
Try to keep units small, use appropriate tools, and pair-up programmers and tester; these are suggestions for writing good unit tests. Unit testing is a mixture of programming and testing; programmers can work together with testers to learn from each other and broaden their knowledge horizons.
-
Test Well and Prosper: The Great Java Unit-Testing Frameworks Debate
A recent post in Reddit sparked a debate between the traditional testing framework JUnit and upstart Spock with the central theme, “What’s wrong with JUnit?”
-
JUnit 5 Alpha Simplifies Unit Testing
The JUnit Lambda Team has recently announced the alpha release of JUnit 5, a new major version for the popular unit testing framework. Changes in the new version are mostly focused at removing the common obstacles that JUnit 4 presented to developers, while also modifying the framework to allow for easier changes in the future. Integration with build tools and IDEs still needs some further work.
-
NUnit 3 Brings Extensibility and Parallel Execution: Interview with Charlie Poole
NUnit 3 was recently released, bringing parallel execution and extensibility to the .NET testing framework. InfoQ reached out with Charlie Poole, maintainer of NUnit for over 10 years, to learn more about this release.
-
Twitter Diffy Spots Bugs in Services by Comparing the Responses
Twitter has open sourced Diffy, an automated testing tool used in production for discovering potential bugs in new code running on Apache Trift and other HTTP-based services.
-
XebiaLabs TestView Integrates Multiple Testing Tools
XebiaLabs TestView is a test management and analytics tool, integrating the execution, data analysis and visualization of multiple functional and unit testing tools.
-
Spring Security 4.0: WebSocket, Spring Data and Test Support
The Spring Security team released Spring Security 4.0.0, adding several new features as well as more default security. Major themes include WebSocket Security, Spring Data integration, better testing support and the introduction of Spring Session as a new (Apache licensed) open source project.
-
Google Strategies for Automated Android UI Testing
Convinced that “whatever can be unit tested should be unit tested”, Mona El Mahdy, a Software Engineer in Test at Google, has written a blog post proposing several approaches to perform unit tests on the user interface of Android applications. Mahdy recommends Robolectric and the Android Studio Gradle plug-in for general unit testing, and Espresso or UI Automator for creating and running UI tests.
-
Facebook Unveils Jest for JavaScript Unit Testing, Automatic Mocking
Facebook has released Jest, built on top of the Jasmine test framework, for JavaScript Unit Testing. Jest automatically mocks dependencies when running tests, and uses CommonJS instead of a proprietary module loader.
-
Typemock Isolator++ Updated with 64 bit Support
Typemock has released Isolator++ with support for 64 bit C/C++ code including legacy code that was not originally written for testing.
-
Typemock Isolator v7.4.3 Adds FastFix, Improved SmartRunner and Visual Studio 2013 Support
Typemock Isolator v7.4.3 for .NET has been released with support for FastFix, improved smartrunner in addition to Visual Studio 2013 and TFS 2012 integration.
-
TypeScript Roundup: New Features, Tools, and a Roadmap
TypeScript is nearing its first production release and planning has already begun for post 1.0 features. At the top of the list is async/await, which should prove useful for both client-side and Node.js development.
-
BrowserSwarm to Automate JavaScript Testing Across Browsers
Testing client side JavaScript code can be tedious and repetitive-so tools that can automate this process are important. BrowserSwarm is a new project designed to simplify this testing process and provide the ability to rapidly test acorss all major browsers.
-
Quick Unit Test Generation Returns to Visual Studio
Easy access unit test generation functionality returns to Visual Studio 2012 and 2013 Preview based on a tool produced the Visual Studio ALM Rangers. Multiple unit test frameworks and C#/VB .NET are supported.