Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Can I get recommendations of free and easy tool(s) that can generate JUnit tests based on existing code?
Either as a stand-alone application or pref. an Eclipse-plugin.
Well, depends on what do you need your tests for...
If just to have tests coverage and basic behavior tested - then yes, use can use test generators.
If you are serious about the project and plan to expend it, see the future of the project - then it would be really better to create good unit tests in traditional way.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 hours ago.
Improve this question
I'd like to be able to log what code is being executed in a JVM down to the method level and even the individual lines that are being executed. This would be a handy capability for QA purposes. I know that this is possible because Jacoco already does something similar to report on code coverage. However, it's not clear to me how this is done and I'm not sure I want to use their agent. Has anyone had experience logging this type of data? Are there any tools that can help?
So you want to log information not for functional checks but more for code coverage and performance analyis.
Rather than creating the solution from scratch and inside your application you might want to look into Application Performance Monitoring tools that can easily be attached to any application and thus are reusable. Here is a noncomplete list of such tools.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
How is Mockito used by Java Developers at entry level ?If yes where
Is it important for coding or just related to testing part ?
Mockito is used only for testing, and it is usually used with JUnit to provide mocks for dependencies. This means you are able to unit test a class / method, without having to rely on the actual implementation of other dependencies, classes, or services, especially if they are not yet available.
More details here: https://site.mockito.org/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
we started with static code analysis and I would like to see how we compare with other projects. Now I am aware I could go out and run tools for different OS projects, but I was curious if there is a repository for this data. such as
cyclomatic complexity, code coverage, size of methods, size of classes, scope nesting, etc
thanks
almir
For Java OS projects a free monitoring system with some metrics is available here: http://opensource.quality-gate.com/
Ohloh.net has a few of the metrics you mentioned
FLOSS Metrics may have some
FLOSSmole - includes data from the now-defunct SourceKibitzer though it's a little old (2007), as well as the same metrics run on Debian packages in 2011
Sourcerer may have some
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am working on a big project with a complex codebase written in java. I want to understand a particular piece of code and i thought getting a sequence diagram of the entry point method would give me a good idea. I use intelliJ and i looked for a plugin which could do this and i found 'SequencePlugin' but unfortunately it is not working in intelliJ 8.1.4. Can i achieve what i am trying to in any other way? Is there a standard approach to follow when trying to understand a complex codebase other than by debugging?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am not able to see the similar post so adding new.
Please suggest any free Java Code Coverage tool:
Tool must be free/Open source.
I want to run it in Solaris-10 server
Code Coverage tool should not have any build/compile time dependency. I want to run this Code Coverage tool on the Solaris server where my Application has deployed.
Tool should have capability to merge reports/snapshots.
Thanks in advance.
Cobertura
Emma
List of Code Coverage Tools for Java