We are using Parasoft Jtest to generate the Static Analysis reports for Java codes by using Jtestcli for Ant and Maven builds. Now we have a requirement to do the same for Gradle builds.
Did not find any direct links to same.
Hence needed help on,…
I normally use JTest Parasoft as a plugin in Eclipse.
But now, I need to integrate JTest in Hudson, at a way that in the Post-build, JTest should run its tests over a Maven project.
So my questions are :
How to integrate JTest in Hudson? I found a…
I am trying to write a unit test for my NodeJs code. I am mocking my API call by using mockResolvedValue.
This is my unit test:
const { search } = require("../src/utils");
jest.mock("axios");
test("Should find an user", async () => {
…
In R, I would like to test the specification of a partial least square (PLS) model m1 against a non-nested alternative m2, applying the Davidson-MacKinnon J test. For a simple linear outcome Y it works quite well using the plsr estimator followed by…
I write a test class for testing my code.
My database configuration is in jtester.properties, and the file as follow:
database.type=MYSQL
database.url=jdbc:mysql://xxxx:3311/ae_fc_00
database.userName=xxxx
database.password=xxxx
…
I'm trying to learn about the Maven Parasoft plugin, for JTest.
Full name for version 3.12 : Parasoft:maven-parasoft-plugin:3.12:jtest
First, except Apache website, I didn't find any tutorial about this plugin. I Wonder if i'm using bad keywords in…
I am new at jtest; I want to be able to unit test a function (that normally runs in a browser).
Here's a simple situation where I thought the document was passed to the test function but it is not.
Tested function (in tested_file.js)
function…
I want to use jtest in order to make some unit tests, I configured according to the doc, however when I run the test I got the error:
enter image description here
This is my jest.config.js file:
preset:…
Hello everyone I hope you're doing okey , I had this problem with googlesignin , I did mock it , then problem with firebase again did mock it , now Im getting this error and I can't find any solution for it
Using JTest Automation Association extension- I want to test dotnet webapp with selenium Java Scripts. Agenda is to do continuous integration in TFS.(Build+Test through selenium scripts in Java together in TFS)
I have dotnet project app repository…
I am working on a project which goes through JTest scan in which one of the bugs is SECURITY.WSC.CACM-1 which states that:
'isUserInRole()' is not allowed to be invoked within 'isInRole()',
it should only be invoked inside centralized access…
I have the code as below:
object a = getObjectFromBlahBlah(); //'a' may possibly be null
try{
a.beginTransaction();
.
.
.
} catch (Exception e) {
logger.debug(e.getMessage());
}
After I run JTest, it will warn me 'a' may…
I am new to parasoft J-test, I want to customize the static analysis of J test in eclipse. I am able to customize what all the rules I need to check in static analysis but I need to change the severity of the rule. How can we change the severity of…
Is there any way to export the Code Coverage percentage of the class files to some report format from the jtest tool so this report can be shared with the rest of the team?