-
How to get .jtest projects to generate elsewhere?
How to get .jtest projects to generateAfter running JTest for a specific project in Eclipse, the .jtest folder is created within my workspace. Is there anyway that I can direct it to generate the files somewhere else? I know that the results can be generated elsewhere, but how can I specify the path that I want the actual…
-
Data flow analysis
Does JTest supports DataFlow Analysis ? If yes how we can perform DataFlow analysis?
-
METRIC.CBO why accepted range is less than 10 ?
Hi, Is there any documentation explain the rationale for choosing the acceptable range values for all Metrics ? The acceptable range for Metric "Coupling between Objects" METRIC.CBO is "less than 10", this seems to be too less in my opinion. The acceptable range for Metric "Fan Out" METRIC.FO is "less than 50" The two…
-
object repository
Hi, How to add objects to object repository through programatically and graphically.
-
Jtest on Windows Vista!
is jtest support window vista?Hi threre, I wonder if jtest could run on Windows Vista platform. Our new project will use Windows Vista as standard operating system. Will you answer to me?
-
Importing JTest Rules
Alternate way of importing rule configIs there a way to put the rules in a shared folder, rather than having each user add them to their workspace?
-
Including junit user defined tests.
How to include my junit tests with JtestMy question is how do I import unit test cases that already exist and are defined with Junit into my Jtest?
-
Jtest supports end to end functioanl testing
Is it possible to do end to end functional testing with Jtest?
-
How do I check if code changes caused problems?
Parasoft Jtest automatically executes your code and creates a snapshot of its behavior. Whenever the changes are made to the code, Jtest will compare the existing snapshot with the new results of the run and report unexpected results found in relation to the changed code. This process creates very effective regression test…
-
How can I check if code meets specifications/reqs?
Parasoft Jtest automatically creates test cases for your code and captures its behavior. You can then validate the code's adherence to specification/requirements by validating the captured behavior. Additionally, Jtest can monitor a running application and capture tests with the ?real data values? and ?real sequence calls?…
-
Can Jtest facilitate testing of complex systems?
In many situations, it is extremely difficult to consistently run tests on a complex system (for example, if your code is altering databases, depending on functionality provided by the application server or web container, and/or communicating with other systems outside of the control of your development group). Parasoft…
-
How do I achieve 80%+ coverage with Jtest?
Parasoft Jtest typically achieves 60-70% code coverage ?out of the box? by analyzing your code. Additionally, by monitoring a running application, Jtest can create tests with the ?real sequences of calls? and ?real data values? used as the application is exercised. If necessary, these test cases can then be extended to…
-
How can Jtest leverage my existing JUnit tests?
Parasoft Jtest can leverage your existing test cases in a couple of ways. First, during test execution Jtest will automatically detect your existing JUnit tests, and provide a combined report for all the tests executed. This report will include comprehensive code coverage calculations and all exceptions found. Second,…
-
How do I improve code security with Jtest?
Parasoft Jtest scans your Java code for various security violations so they can be addressed development, which is a critical step in building security into your application. The best approach to building safe applications is to build security into the application software (as opposed to testing for security…
-
How do I test servlets/EJBs with Jtest?
Testing any and all Java components that depend on the presence of web containers or application servers can be very complex. To ensure that these components are operating properly, a three-fold testing approach is recommended. 1. While you are in development and are not yet ready to deploy the components on the server:…
-
How do I build and test robust Web Services with Jtest
Testing any and all Java components that depend on the presence of web containers, application servers, or messaging layers can be very complex. To ensure that these components are operating properly, a two-fold testing approach is recommended. 1. Test your implementation layer: Use Parasoft Jtest to analyze this code-- as…
-
How do I support code reviews with Jtest?
Since Jtest's automated coding standards analysis virtually eliminates the need for line-by-line inspections during peer code reviews, these reviews can focus on high-return value analysis, such as examining design, algorithmic, or implementation issues. Moreover, Jtest's new Code Review module helps automate the code…
-
Suppression messages
How can I get a listing of all the suppression messages for a particular project's analysis? I can display the list of suppression messages, but I can find a way to generate a report. I can't even copy/paste the messages into another Windows program. Are these suppression messages stored in a file somewhere?
-
jtestcli with team config
I am trying to use jtestcli with a config that use team like this: D: \Jtest7.5>jtestcli -config "team://My Team Code Rules" -nobuild -showdetails -report "D:\Jtest7.5\reports\report.xml" -data "D:\code\src" jtestcli: Version 7.5.43 -- Copyright © 2003-2005 Parasoft Corporation jtestcli: Bad configuration URL: team://My…
-
Jtest and Rational Test Manager
Does Jtest have an integration to Rational Test Manager? Thanks
-
Jtest Report Options - What are they?
After running a test using Jest 6, and I press the "Report" button, there is a Report options button. It is looking for a .properties file. I could not locate the description of this file in the online JTest 6 Help documentation and assume differences from a configuration.properties file. Question: What is the content of…
-
How to merge report file
How to merge report fileHello, I'm using Jtest 6.0 on a linux server. When I run jtest with the command line from ANT, it happens that JTest jams. I followed a Jtest training and the teacher told me to separate jtest operations: coding check, generation and execution. The 3 separated operations work fine but the html…
-
Struts
Hi All, please can any one let me know how to test Struts in Jtest, also i wanted to know is there any builtin rules in jtest for testing Struts. I am using Jtest6.0 version.
-
How do I use Jtest Configurations with jtestcli?
Typically, jtestcli invocations follow this pattern:* Windows: jtestcli.exe -data %WORKSPACE_DIR% -resource resource_to_test | property_file -config %CONFIG_URL% -report %REPORT_FILE% * UNIX: jtestcli -data %WORKSPACE_DIR% -resource resource_to_test | property_file -config %CONFIG_URL% -report %REPORT_FILE% [/list] -config…
-
How does Jtest work across a team?
Jtest is a fully team-oriented Java development solution. The optimal Jtest team configuration is to have one Jtest Server Edition on the team build machine, a Professional Edition of Jtest on every developer workstation, one Jtest Architect Edition on the architect's machine, and one installation of Team Configuration…
-
What coding standard rules does Jtest check?
Jtest has a total of 700+ development rules developed by Java gurus such as Sun Microsystems, Scott Ambler, and Joshua Bloch, plus rules from popular open source coding standards tools (CheckStyle, PMD, FindBugs, etc.). To help users determine which rules to comply with, rules are categorized by topic (for instance,…
-
Does Jtest generate standard JUnit test cases?
Yes, Jtest automatically generates standard JUnit test cases and allows you to extend/modify these test cases in the standard JUnit manner, with real Java code. Additionally, it gives you the option of adding more test cases graphically (using a graphical object editor and a graphical test case editor with data source and…
-
Does Jtest work with Ant?
Yes. The Jtest command line interface (jtestcli) works with Ant to help Jtest users further standardize and streamline the testing process. By extending Ant using sample or custom Jtest build files, you can integrate Jtest testing into an automated compilation/build process. Because Ant is so extensible, it can assimilate…
-
Testing Abstract and Interface classes
Does Jtest test Abstract and Interfaces?YES. Coding standards is performed on Abstract and Interface classes. And Unit Testing is performed as following: Abstract classes are tested by making an anonymous class that extends it and implements the abstract methods Interfaces are tested by just loading the class so static…
-
intellij plugin for Jtest
anyone know of a plugin for intellij that will make use of jtest? otherwise loading up the eclipse + jtest bundle just for the purposes of using jtest is a bit of a dog...one gig of ram and using 600 meg of swapspace (ouch!) jboss and squrrielSQL don't help matters. other option I guess I have is to get really comfortable…
-
Check unused code in comment lines
Hello All, I have some problems about configing JTest's rules. Could you guys tell me the ways to resolve it. 1. How can I check the old code ( not unused code ) in comment lines. 2. If JTest have rules to test it, pls. tell me the way to config. 3. If JTest have no rule, How can I create rule by rule wizard for check this…
-
Eclipse Project Refresh
Prevent Jtest from refreshing projectHi there, Due to a problem with Eclipse I have a project that takes about 5 minutes to refresh (the project contains filed named like Test::Unit::Assert). This seems to be unavoidable without getting Eclipse fixed so I just live with it. However, whenever I try to run a Jtest…
-
why JTest can not generate negative int for me
My class has a addBalance(int money) method, why test cases generated by JTest always generate positive param for this method, why not generate negative param calss constructor seen below: public BankAccountSimple(String customer, int deposit) { if (!validCustomer(customer)) { throw new IllegalArgumentException("Bad…
-
fatal: librt.so.1: version `SUNW_1.2' not found?
How do I fix this?When I try to run Jtest on Solaris 8 I get this message: CODEError: tgsutil not loaded java.lang.UnsatisfiedLinkError: /devel/home/parasoft/jtest5/plugins/com.parasoft ..eclipse.api.solaris_5.1.51/jtest/lib/libtgsutil.so: ld.so.1:…
-
Postconditions that depend on method arguments?
How to validate method outcome.Question: How can I write DbC that validates a method outcome based on method parameters. For example: For a method named 'add': if (a == 10) and (b == 20) the return value must be 30 otherwise it's a postcondition violation.
-
Adding new Metrics
Where should I add new metricsHi, I do not quite understand how the mark up should be developed to add a new metric. Where should I save the implemented class? Could some one tell me how I should go about adding a new metric? Thank you
-
Changing/Checking severity level of rules
unable tochange/find the severity levelsHi 1. I have to change the severity level of certain exisiting rules(eg. PB.SBC,OOP.AHSM, CODSTA.VDT etc). But when i right click the the rule i can not see the rule wizard option. How do I change the severity of these rules? 2. After i run the jtest, how can find out the severity…
-
jtest.TimeoutError?
Is this configurable?We're running into a problem where some of the code needed to build and run one of our test cases takes longer than 30 seconds, but Jtest times out with the jtest.TimeoutError error. Is this error configurable or bypassable? Thanks.
-
Jtest useful in eXtreme programming?
How do I make it useful?Question: We write all our Junit tests before actually writing the method implementations. This is following the eXtreme Programming paradigm. How can Jtest be useful in this situation? Answer: Since the method actually has to exist before the junit test (but the method body can be empty and return…
-
How to get html report from jtestcli?
-report seems only to give xml report...How can I get the jtestcli to give me an html report? -report usage seems to say only xml report is generated. And... when it finishes the tests it says, "wrote report to .xml"
-
Generating and running Unit Tests
The documentation says for the option 'Generating and Run Unit Tests' the Jtest generates Test Cases for classes without existing test classes and classes with old test classes. If i change the code and the old test cases are no longer valid, will this option overwrite the old test class with new teast cases or will it use…
-
Exporting test configuration
to list rules used to analyze the sourceHi, I have different JTest configurations for different categories of validations (say must-have-rules, nice-to-have-rules). Once reports are generated, I would like to know which set of rules were used while analyzing the source code and generating the report. So I am wondering if…
-
Does Jtest support J2ME for mobile applications?
Does Jtest support J2ME for mobile applications?
-
EJB Testing
How does Jtest deal with EJBs?========================================== J2EE - The How's and What's ========================================== The most popular question Jtest end-users ask is "Can I test my Ejbs?". The answer is, yes. The second most popular question end-users ask is, "How?" "Enterprise web applications,…
-
Skipping classes or resources.
How do you skip classes for testing?How do you skip class that you do not want to test in Jtest? 1. Right Click on the Project select Properties 2. From the "Properties for <project_name>" click on Parasoft. 4. Click on Scope Settings. 6. You will see "Resources to skip: " Click on "Add" button. 5. Choose the files you do…
-
How to import classes into a current or new proj?
Importing a class to a current project. 1. Right click on a Project that you will like to import a class. 2. select Import 3. From the Import window select File System click on Next 4. Browse to the directory which contains the class that you would like to import. 5. You will see the directory on the left frame and on the…
-
How do I clear all the Jtest errors from the views
Press the red 'X' on the Jtest Errors Found View. This will clear all the errors.
-
Different workspace during launch of Jtest
How to specify it.Jtest can be configured to use a different workspace by passing the -data tag to the Jtest executable. For example, • Windows: jtestcli.exe -data %WORKSPACE_DIR% -resource resource_to_test -config "team://Team Configuration" -publish -localsettings acme_policy.settings • UNIX: jtestcli -data…