RKTracer Integration
Developed by RKValidate, RKTracer is a Code coverage tool capable of generating coverage data for different programming languages like C, C++, C#, Java, Kotlin, JavaScript, Python, etc; regardless of what compiler, cross compiler, embedded targets, or servers you use to test your apps.
With LambdaTest and RKTracer, you can generate Code coverage for your web and mobile apps across 3000+ real browsers, devices, and operating system combinations.
RKTracer With Web Automation On LambdaTest
Download the LambdaTest Java-TestNG GitHub repository.
To run the single test using TestNG, pass the build command by prefixing it with
"rktracer"
rktracer mvn test -D suite=single.xml
- Pass the below command to get the test results.
rkresults
RKTracer With App Automation On LambdaTest
- Build your app with the RKTracer tool embedded.
- Login to your LambdaTest account and perform the automated testing of your app.
- Navigate to the App Automation dashboard on LambdaTest.
- Download the Device log file from LambdaTest App Automation dashboard.
- Place the downloaded Device log file in your app directory.
- Convert the file from
JSON
to.txt
with below commandjson2rk devicelog.json > rk-coverage.txt
.
- Pass the below command to get the test results.
rkresults
RKTracer With Real Time App Testing On LambdaTest
- Build your app with the RKTracer tool embedded.
- Login to your LambdaTest account and perform the real-time testing of your app.
- Download the App logs of the real-time app test and place them in the build code directory.
Open the terminal from that folder and run the command
node har2rk.js <name of device log har file>
. It will convert the harfile intorkcoverage.txt
.Run the below command to get the results.
“rkresults”