In this release, we've added new features, functionality, and improvements to Unit Test Assistant (UTA).
Unit Test Assistant Enhancements
Support for Bulk Creation of Spring Tests
We've added support for creating multiple Spring tests to help you optimize the Spring test creation process; see Creating Multiple Unit Tests.
Added Support for Factory Methods During Test Creation
You can now configure UTA to use the factory methods that are available in your code to further increase efficiency and productivity of the test creation process. We've added a new dedicated Factory Methods View to the UTA interface that allows you to review and manage the factory methods that will be used during test generation. See Configuring Factory Methods.
Added Multiple UTA Views
The Unit Test Assistant interface has been split into individual views to let you more conveniently create, enhance and run your tests with UTA; see Enabling the Unit Test Assistant Interface.
Other Enhancements
- We've added a new UI option to improve performance. Now Jtest can launch on IDE startup to speed up the first analysis; see Enabling and Configuring the Engine.
- We've extended our support for the OWASP standard and added the new OWASP Top 10 2017 built-in configuration.
Extended Support for Platforms, IDEs, and Build Systems
- Support for Windows Server 2016
- Support for IntelliJ 2017.2 and 2017.3
- Support for Gradle 4.3
Updated Code Analysis Rules
- BD.SECURITY.EACM
- BD.SECURITY.VPPD
- CDD.DUPS
- CODSTA.BP.DLSF
- CODSTA.BP.AUML
- EXCEPT.TSCE
- FORMAT.MO
- UC.AURCO
- UC.UIMPORT
Resolved Bugs and FRs
Bug/FR ID | Description |
---|---|
FA-4779 | Java graph elements do not contain information about implicit casting |
FA-4830 | PB.ARRAY false positives due to missing model for String.Length property |
FA-5721 | BD.PB.REVOBJ false negative violation when exception is thrown and caught before field is assigned. |
FA-5742 | BD.SECURITY.SENS false positives when resource is assigned to a class' field |
FA-5760 | Update BD-TRS-DLOCK to not report when the 2nd lock is done using pthread_mutex_trylock (or any other functions with similar functionality) |
FA-5768 | BD.SECURITY.PRIVIL does not report on numerical data |
FA-5784 | BD-TRS-ORDER does not report on synchronized blocks/methods |
FA-5814 | Change name of the "Unwanted dangerous methods" parameter for BD.SECURITY.EACM rule and update its documentation |
FA-5877 | BD.TRS.ORDER does not report on synchronized(Class) block |
FA-5901 | BD.RES.FREE false positive with try-with-resources |
JT-47383 | Empty testing scope |
JT-48673 | Compilation failure on the attached interdependent projects |
JT-50936 | CDD.DUPS not reporting some violations when source file contains Japanese characters |
JT-69294 | Custom rule from 9.6 throws false positives in 10.3.2 |
JT-69500 | Gradle plugin - problem with dependencies |
JT-69651 | Rules CODSTA.BP.DLSF and CODSTA.BP.AUMLarenot compatible with 9.6 configuration |
JT-69652 | FORMAT.MO reports annotation comments as a incorrectly placed modifier |
JT-69676 | Question about rule UC.UIMPORT for classes implementing the interfaces |
UTA-498 | Getting null pointer exception when running. |
UTA-499 | Able to run Unit Tests but not getting results and an exception is being thrown. |
UTA-1284 | UTA failing on tests that have Oracle ojdbc8.jar in them. |
UTA-1681 | When no parameters are generated - add an informative comment. |
UTA-1682 | Generated bean method name contains type parameters. |
UTA-1683 | Don't create Bean method for Environment and other built-in Spring Beans. |
UTA-1693 | Exception thrown when generating tests for uncompiled project. |
XT-10181 | Value input for hours drops by one causes unable to borrow license. |
XT-34419 | Importing findings from IDE by project doesn't work. |
XT-34610 | Default build.id different than what is in documentation. |
XT-34642 | Parasoft Jenkins plugin gets stuck when being executed as part of pipeline project. |
XT-34944 | Calculating different session tags for the subsequent builds |
XT-34960 | DTP highlights incorrect line for the violation. |
XT-34977 | Incorrect session tag was included in the report - no scBranch parameter |
XT-34985 | SVN server port is not properly passed to the engine. |
XT-34995 | Possible issues with metadata processor. |