Unit test code in C ++ using Java

I have inherited a huge C ++ code base with some integration tests. This is a critical system that feeds data into many subsequent systems. Since the tests are very unreliable, our team cannot confidently push the changes.

We want to introduce some tests into the system, but most developers have a Java background. What options do we have?

1) Learn C ++

2) Use JNI: not sure how easy it is

+5
source share
2 answers

Using JNI adds another level of complexity and you will learn C ++ - I would not recommend it if you do not want to use C ++.

, ++ . , , . python:

  • ( python)

, ( , ).

- , ++, , ++ ( Java + JNI + ++).

+2

JNA, C ++. , JNI, , .

0

All Articles