I just installed the “community edition” IntellJ plugin but it cannot generate test cases. I See a popup warning "The server sent a self-signed certificate which has not been seen before.
Details:
Issuer: CN=verify.diffblue.com,OU=EngOps,O=Diffblue,L=Oxford,ST=OX,C=GB
SHA-1 Hash (or fingerprint): 7b767c438ce7b8e6180ea69a6949d364338d9543
Do you want to save this as a trusted certificate?"
This shows up repeatedly, even after clicking on “Trust Certificate”.
The log in Intellj shows:
4:43 PM All files are up-to-date
4:43 PM Commencing test creation: Analyzing 1 methods in total
4:43 PM Creating tests for method: Lease.isExpired
4:43 PM Cannot generate essential test for isExpired: Unrecoverable runtime error. Please contact Diffblue support.
4:43 PM No tests have been generated: Cover was unable to generate any tests for your selection. Please refer to the documentation for further assistance.
4:43 PM Test creation complete: Created 0 tests in total for 0 methods from 0 source classes
/tmp/diffblue/log/cover-plugin.log contains:
16:43:48.966 [INFO][ApplicationImpl pooled thread 11][c.d.c.p.PreparationTask] Exiting: ClassNotFoundException com.diffblue.cover.preparation.PreparationTask.run()
16:43:48.966 [INFO][ApplicationImpl pooled thread 11][c.d.c.g.p.InvokePhaser] Entering: void com.diffblue.cover.generation.phaser.InvokePhaser.invoke(ClassNotFoundException)
This is for IntelliJ IDEA 2020.2.1 (Community Edition)
Build #IC-202.6948.69, built on August 24, 2020
Runtime version: 11.0.8+10-b944.31 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.8.0-1-amd64
GC: ParNew, ConcurrentMarkSweep
Memory: 1945M
Cores: 8
Non-Bundled Plugins: Key Promoter X, com.github.shyykoserhiy.gfm, DBN, Error-prone plugin, com.diffblue.intellij.cover.plugin, io.codearte.props2yaml, com.intellij.marketplace, org.antlr.intellij.plugin, Docker, com.github.tinselspoon.intellij.kubernetes, org.zalando.intellij.swagger, wu.seal.tool.jsontokotlin, com.vladsch.idea.multimarkdown, org.jetbrains.kotlin, com.google.gct.core, GradleDependenciesHelper, kotlintest-plugin-intellij, zielu.gittoolbox, com.coverity.desktop.idea, cn.bestwu.gdph, org.jetbrains.debugger.streams.kotlin, com.jetbrains.edu
Current Desktop: GNOME