Parasoft C/C++test is an integrated Development Testing solution for automating a broad range of testing best practices proven to improve development team productivity and software quality.
Questions tagged [parasoft]
70 questions
0
votes
0 answers
Parasoft / Misra C++ 2008 : Expression of 'signed' type should not be cast to 'unsigned' type
I am coding in C++14. The company requires all code to pass Parasoft / Misra C++ 2008 checks.
I receive a string which ends in a digit from 1 to N and I need to convert it to uint8_t and subtract 1 to use it as an array index.
// NumberString is…

Mawg says reinstate Monica
- 38,334
- 103
- 306
- 551
0
votes
1 answer
Is this a good way to use static_cast(0) for nothing?
Imagine that we do not have the [[maybe_unused]] attribute in C++.
How we could use this ability before inventing this attribute (I mean, before C++17)?
I found one solution:
static_cast(0)
But I'm not sure that is correct! Can you explain a…

H.M
- 425
- 2
- 16
0
votes
1 answer
MISRA2004-12_8-3 rule has static analysis violation for RHS operand (32u - n) even with limits check
I am currently attempting to use parasoft software to fix static analysis violations for my code using MISRA C coding standards. My code initially had this function:
static inline uint32_t rotate_right(uint32_t val, uint32_t n)
{
return (val >>…

Alaiko
- 185
- 2
- 7
0
votes
0 answers
External tool coding required for Parasoft
I know this is not as per guidelines, but i do need some help in parasoft extendaion tool coding part. I have all the logic that is required but dont know how to start
1 . I have 8 digit "50000002"
2 . I have another 8 digit checksum code …

nishit dey
- 458
- 1
- 7
- 21
0
votes
0 answers
CXX CMake compiler prefix with executable not working
I am following Parasoft code coverage to run it on my source code : https://docs.parasoft.com/display/CPPTEST1040/Instrumenting+and+Building+Instrumented+Source+Code
I have defined CXX as an environment variable in my new conan…

User001
- 91
- 8
0
votes
1 answer
How to include .h files while creating bdf file in Parasoft
I am using a Linux environment to for running Parasoft. I normally create the Build Data File(bdf) file using cpptesttrace. But only problem is that i cannot test header files (.h) in the project imported from this bdf file.Any guide on setting up…

GustavoS
- 87
- 1
- 9
0
votes
1 answer
How to read/edit Parasoft SOATEST .tst file by code or manually?
I need to read the .txt file as raw text or by code to extract the data keyed in the test suite (resource/assertors,....). Is there any way to do that? by code or any editor.

Vignesh Prasad V
- 419
- 3
- 17
0
votes
1 answer
Parasoft violation EXCEPT.NCSAE-3 on return line
Throughout my codebase, I have a lot of parasoft violations
EXCEPT.NCSAE-3Do not "catch" 'Exception', 'SystemException' or 'ApplicationException'.
occurring on the return line of functions.
Any idea why that might be? Should they just be…

JED
- 1,538
- 2
- 19
- 47
0
votes
1 answer
Add DB update task after a test case execution in Parasoft
I have been using Parasoft SOA Testing Tool(9.10) for testing a WCF service. I have two test cases in a test suite. I want to do an update of a database table row after executing the first test case. How can I implement that in parasoft soa…

Keppy
- 471
- 1
- 7
- 23
0
votes
1 answer
SOAtest integration with HP ALM
I followed this documentation:
https://docs.parasoft.com/display/SOAVIRT9103/Using+HP+ALM+and+HP+Quality+Center+with+SOAtest
And chose VAPI-XP Test Type Configuration and Test Creation methodology to integrate HP ALM with SOATest. To an extent, I…

lavanya shivram
- 13
- 6
0
votes
1 answer
Is there any connection string to connect to Mongo Db using parasoft tool or Java which has LDAP authentication
Already tried with MongoClient for no authentication connection String which is as below but is not working for LDAP authentication
MongoClient client = new MongoClient("mongodb://username:pass@localhost/portnumbr")
Is there any connection string…

Dev
- 1
- 1
0
votes
1 answer
Switch to new window using Parasoft web test
I'm new to parasoft. I want to switch to new window.
I see that there is a field in the browser playback tool named as "Window".
I'm assuming this is the place where window details can be given.
I'm not sure what value it accepts. e.g window title,…

Prashant Dhage
- 57
- 1
- 6
0
votes
1 answer
soatest with maven having configuration issue
I have created a new maven project and I have added soatest in it. Now when I am trying to execute the test, it seems it is deleting the workspace before executing the soatest as a result it is unable to fetch the excel datasource.
My project in…

Sourabh Roy
- 159
- 1
- 18
0
votes
1 answer
Visual Studio 2013 support for Parasoft C++Test 9.6
I'm a newbie for using Parasoft. We are planning to use Parasoft C++Test 9.6 version for Code Coverage. But, I'm not sure how to import a Visual Studio 2013 project into this. In the Advanced Settings I selected 'Visual Studio 12.0 Tool chain'. But,…

Gomu
- 1,004
- 5
- 16
- 36
0
votes
1 answer
Parasoft Java exit code = 1 on single screen display
I'm having a weird issue when running Parasoft on a single screen.
Whenever I am connected to a dock which hooks up 2 of my monitors to my laptop it works fine.
But whenever I am not connected to the dock and only have my laptop screen, when I run…

arjwolf
- 181
- 4
- 16