I use IntelliJ IDEA JavaCard Project Template to develop my java card applet. But how could I test my code if it is correct?
I know Esclipe has a Plugin named JCOP which can easily test the java card applet, but I love IntelliJ more...
There is another tool: jcardsim . Do anyone know how to use it in IntelliJ?
I made a similar project template for gradle: https://github.com/ph4r05/javacard-gradle-template
It is very similar to the template you use so migration should be really just copy-paste. It already contains a HelloWorld applet in the module applet
and basic unit test in the module tester
.
The project template uses JCardSim for the testing. Give it a try.
Template usage:
git clone https://github.com/ph4r05/javacard-gradle-template.git
cd javacard-gradle-template
git submodule init
git submodule update
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.