1 answer

Hi Roman, thanks for attaching the video. I'd like to clarify few issues:

I see that you set the "rebuild immediately" policy and ran compilation. Can you confirm that the Clover database has been created (there should be .clover/coverage.db file present)?

Could you open the "Cloverage" view and check if if shows classes from your project?

What and how did you execute? I don't see it on the video... You have the MyManualTest file opened in the editor but the error is about com.company.Main from another package - did you run the MyManualTest as JUnit test or did you run the Main class as application? Did you use "Run as ..." or "Debug as..." option (these are correct) or the "Run with coverage ..." one (this is not correct)?

I noticed that the "Enable Clover" toggle turned off after opening the settings dialog - am I right? Did you click on any toolbar button or use a shortcut key? What happens if you enable it again, close the dialog and open the dialog again (without rebuilding a project) - does it disable again?

so there was any whole word about installing that features that you said before my steps. So could you please forward me to correct step-by-step guide or show me in details which actions must be done primarily.

3. Sorry, I should be cover more space for video. I clicked on main green triangle with "Run" meanung.

4. Yes, Enable option turned off next opening. No, I didn't press any key. I'll try to steps as you said.

Have a good day!

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

ad 1&2. I wrote these steps in order to troubleshoot it. Normally, there's no need to check for presence for the Clover database.

ad 4. This option should not turn off itself. It may be a bug.

Could you please tell what IDEA and Clover version do yo use?

Could you check if IDEA logs have any errors related with Clover?

Could you try to download the Clover-for-Ant ZIP file (https://www.atlassian.com/software/clover/download/) and unpack it? You will find a tutorial project there, which you can open in IDEA. Could you do it, enable Clover, build it and run tests and check if you see coverage?

PS: feel free to raise a ticket at support.atlassian.com, if necessary.

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

1-2. So, where I can obtain info about installing clover db? Or it isn't necessary?

4. a) The IDEA version is 14.0.2, the Clover version is the latest - 4.1.1. b) I don't know exactly where I can check these logs. c) I've downloaded the tutorial, thank you, but I can't install and open it in proper way - http://i.shotnes.com/a/11/c5qjoucn.03l_570b94e5dce47.png - sorry, but I know Java not so good, and my main goal here is to know how Clover can work in manual testing as it written in guide. Nevertheless, I want to help you catch the bag at "Enable Clover" - http://screencast.com/t/HrKkySjtKBlw - maybe it depends of missing clover db?

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

"Here is the event log with correct sources" - nope; you still don't have original sources; the MoneyBag class is located in Main.java, which is not correct; please use the original code from tutorial to ensure that you won't be bothered by irrelevant errors

Sincerely, I don't know how to open the tutorial sample in proper way. Previously I've created two java classes (Main and Test) and just copied content from MoneyBug in sample into Main in IDEA and from MoneyBugTest in sample into Test in IDEA. Could you help me to re-open tutorial sample in proper way?

Thank you, I've checked the folder permission and, actually, it was only for reading. Now the "Enable Clover" is always "on".

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

Finally we managed to install tutorial project properly - it became possible due to installing maven before, and fortunally, the Run button appeared.

Thank you Marek for links, but it takes some time for learning java, meanwhile I'd like to understand how to provide manual tests with Clover as soon as I can. As is written in the guide - "...all manual test cases were wrapped into JUnit tests...", and could you explain what kind of manual tests are mentioned in guide? Are they some kind of auto-tests, or naturally, manual tests? Could you place any link on such manual test?

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

Yes, I'd like to clarify my request. We prepare some educational materials for testers and we put there some info concerning tools of code coverage. These materials should be used both as for automated as for manual testers and we'd like to know more about using of manual tests in Clover. The manual testing in this case is implied as exploratory testing or testing by strict following of check-lists. I've red this manual before my first question in the head, thank you, but there is some info about auto-tests. So, can I ask you to answer my questions written above or should I clarify something more? Regarding your question, the right answer is first one for us - "knowledge what application areas were covered by manual tests".

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

Thank you for updating info, but I suspect that I should clarify more, especcially concerning point 3 "Perform tests.." So, we'd like to know how to use some tools for code coverade of manual tests. These tools should write code coverage in a runtime mode (like Bullseye for C++ as my colleague tells me). We install some tool, make some manual tests in a runtime mode and tool write code coverage and finally genarate a report. Is Clover fit for this task?

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.