InfoQ Homepage Unit Testing Content on InfoQ
-
AI-Based Code-Completion Tool Tabnine Now Offers Automatic Unit Test Generation
One of the pioneers in the field, Tabnine is a code completion assistant that uses generative AI to predict and suggest the next lines of code based on its surrounding context. Tabnine is now opening beta access to new capabilities aimed at generating unit tests.
-
JetBrains Previews Aqua, New Test Automation-Oriented IDE
JetBrains Aqua, now available in preview, is a new IDE focusing on test automation and integrating a number of distinct tools that are at the core of an automation engineer's daily routine, says JetBrains. Its features include multi-language support, an HTTP client and a Web inspector, database management, integrated Docker support, and more.
-
ArchUnit Verifies Architecture Rules for Java Applications
ArchUnit is an open source extensible library written in Java for verifying the architecture of Java applications. ArchUnit allows developers to enforce architecture rules such as naming conventions, class access to other classes, and the prevention of cycles. The library was originally created in 2017 by Peter Gafert and version 1.0.0 was released in October.
-
JUnit 5.9 Supports GraalVM Native Image
JUnit 5.9 resolves various bugs and introduces a number of new features such as the ability to keep temporary files after executing a test. New annotations provide the ability to either enable or disable specific tests when running in a GraalVM Native Image. XML reports are now stored in the Open Testing Reporting format.
-
Java News Roundup: Helidon 3.0, GraalVM 22.2, IntelliJ IDEA 2022.2, Vert.x Virtual Threads
This week's Java roundup for July 25th, 2022, features news from OpenJDK, JDK 19, JDK 20, Spring project updates, Helidon 3.0, GraalVM 22.2, Quarkus 2.11.1 and 2.10.4, Micronaut 3.5.4, Eclipse Vert.x virtual threads incubator, Jakarta EE 10 updates, IntelliJ IDEA 2022.2, JUnit 5.9.0, Apache Software Foundation project updates and Multik 0.2.0.
-
Java News Roundup: IntelliJ IDEA, JEP 421, Groovy, Open Liberty, Hibernate ORM, Eclipse Collections
This week's Java roundup for November 29th, 2021, features news from OpenJDK, JDK 18, Project Loom Build 18-loom+7-288, multiple Spring project point releases, Quarkus 2.5.1.Final, WildFly 26 Beta 1, Open Liberty 21.0.0.12, Hibernate ORM 6.0.0-Beta2, Eclipse Mojarra 2.3.17, GraalVM Native Build Tools 0.9.8, Groovy 4.0.0-RC1, Eclipse Collections 11.0.0, IntelliJ IDEA 2021.3, and JReleaser 0.9.0.
-
Shifting Quality Left with the Test Pyramid
Shifting quality left means building in quality much earlier in the software development cycle, rather than testing for quality after completion of development. Using the test pyramid model, a project was able to move testing towards earlier stages, thereby finding defects that caused integration issues earlier in development.
-
Ebay Open-Sources Package to Reduce Test Flakiness Using Swift and Xcode
Targeted Auto Retry is Ebay's approach to dealing with test flakiness that aims to make a continuous integration pipeline more resilient to flaky test steps. To make this approach straightforward to use, Ebay has open sourced a lightweight framework for the Swift language that can be used with Xcode unit testing framework.
-
Cypress 5.x Adds Test Retries and Shadow DOM Support
Cypress, a browser-based test runner and dashboard, recently introduced native support for test retries in the Cypress 5.0 release, helping developers avoid intermittent test failures. Other recent Cypress advances include networking stubbing and shadow DOM support.
-
JUnit Project Moves to Azure Pipelines for Builds
JUnit, a unit testing framework for Java, is one of the most popular libraries used by Java developers. The JUnit team recently announced they've adopted Azure Pipelines for continuous integration (CI).
-
Jest 24 Improves TypeScript Support, Plans Migration to TypeScript
The Jest team recently released version 24 of their JavaScript testing framework which improves its support for TypeScript test authoring. The Jest team also announced plans to migrate their codebase from Flow to TypeScript in the near future.
-
Apache Releases NetBeans 10.0 Featuring Enhanced Support for JDK 11
The Apache Software Foundation recently released NetBeans 10.0 featuring enhanced support for JDK 11, adding support for JUnit 5, and the reintegration of the PHP, JavaScript, and Groovy modules. Apache has committed to two releases in 2019 to include support for JDK 12 and JDK 13.
-
How Continuous Delivery Impacts Testing
With continuous delivery we need to focus on quality as we write the code. Not every team will have testers, but if there are testers then they will work closely with developers, writing code to automate the small number of tests that cannot be covered by unit tests while helping developers creating unit tests.
-
Google Open Sources Accessibility Test Framework for iOS
Google GTXiLib, an accessibility test automation framework for iOS, is now open source under the Apache License. GTXiLib is written in Objective-C and integrate with Xcode unit testing facilities.
-
Visual Studio Code Announces JUnit Support
The team at Microsoft which supports Visual Studio Code (better known as VS Code) has announced the release of an extension to run and debug Java JUnit test cases. The extension works with the Java Language Support extension provided by Red Hat and the Debugger for Java to complete the end-to-end development experience for developers working in the Java language in the editor.