Modify

Opened 13 years ago

Closed 13 years ago

#9049 closed enhancement (fixed)

comments for each testcase at testplan

Reported by: podskalsky Owned by: Roberto Longobardi
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

hello roberto,

we have a new feature request and maybe you also will need it.

we want to insert a comment at each tescase in combination with the testplan. our testers want to store information about the test execution (independent if the test faild or was ok) of the actual testplan. additional there should be at the testcase a link or a box where you see all the comments which where added to different testplans.

I hope you can add such feature to your great plugin.

THANKS Andreas

Attachments (3)

screenshot1.png (90.6 KB) - added by Roberto Longobardi 13 years ago.
The comments field
screenshot2.png (92.0 KB) - added by Roberto Longobardi 13 years ago.
The comments field while editing
screenshot3.png (135.4 KB) - added by Roberto Longobardi 13 years ago.
Test plan tabular view showing all comments

Download all attachments as: .zip

Change History (16)

comment:1 Changed 13 years ago by Roberto Longobardi

Hi Andreas, cool idea.

Unfortunately, this is not so easy to implement, since all the test plans associated to a test catalog, and all the test cases in any plan associated to a test case share the same wiki page as the original test catalog/test case.

I'll try to figure out something.

Ciao, Roberto

comment:2 Changed 13 years ago by podskalsky

Hi Roberto,

I think you will need an additional table with the following coloumns ...

testcase - testplan - comment

Ciao, Andreas

comment:3 Changed 13 years ago by Roberto Longobardi

Andreas, thinking more about it, I think you may just add a custom field to the "test case in plan" object.

This is how you do it:

1) In trac.ini, add the following section:

[testcaseinplan-tm_custom] comments = text

If you also want comments of test plans, add the following lines too:

[testplan-tm_custom] comments = text

2) Restart Trac

3) Go to any test case in a plan and notice the "Comments" field at the bottom of the test case description, as in the attached attachment:"screenshot1.png".

4) Edit the comment and click Save, as in attachment:"screenshot2.png".

This should fit as far as adding and looking at individual comments. It will not give you the possibility to look at the list of comments in a box as you were asking, which is a nice feature. This will require some additional coding.

Let me know what you think.

Ciao, Roberto

Changed 13 years ago by Roberto Longobardi

Attachment: screenshot1.png added

The comments field

Changed 13 years ago by Roberto Longobardi

Attachment: screenshot2.png added

The comments field while editing

comment:4 Changed 13 years ago by Roberto Longobardi

By the way, custom fields are documented here.

And thinking about it, you can still have an overview of all the comments to a test plan's test cases by using the test plan's tabular view, as shown in attachment:"screenshot3.png"!!!

You can switch from the tree view to the tabular view using the little icons at the top-left of a test plan's page.

And don't tell me I don't always have an answer ;-)

Ciao, Roberto

Changed 13 years ago by Roberto Longobardi

Attachment: screenshot3.png added

Test plan tabular view showing all comments

comment:5 Changed 13 years ago by podskalsky

Hy Roberto,

thanks for the hint to the "[testcaseinplan-tm_custom]" ! This is 99% perfect for our usage.

This 1% I#M missing ;-) Do you think you can add the changes of some selected (select at trac.ini) customized fields to the "Status change history" ?

Ciao, Andreas

comment:6 Changed 13 years ago by Roberto Longobardi

Hi Andreas, glad this solution works for you :D

Every change to custom fields is already tracked in the database, but as you say it's not currently displayed anywhere.

It should not be difficult to be able to show changes to selected custom fields in the status change history. Let me take a look at the code and I'll get back to you soon.

Thanks for your interest in this plugin. Ciao, Roberto

comment:7 Changed 13 years ago by anonymous

Hi Andreas, recently I had a couple of users willing to translate this plugin in Spanish and in Estonian, and I was wondering if you would like to provide a translation into German (I assume you are German??)) or your native language.

It is about one hour work, so if you are willing to help with this, please let me know.

If you speak German and would like to provide a translation, these are the required steps:

1) go to Transiflex where this translation project is hosted. and register for an account: https://www.transifex.net/accounts/register/

2) Go to the page for the new German translation team (it's you :D) for this plugin:

https://www.transifex.net/projects/p/testman4trac/team/de/

3) Click on the catalogs, messages.pot and then messages-js.pot, and in the popup window click on "Translate now".

4) You can translate by simply writing in the table. Write in the right cells the Spanish text corresponding to the English text appearing in the left cells.

I'm not sure the system will let you do the translation without my authorization, so as soon as you have created an account on Transiflex, let me know it and I will add you as a translator.

Thanks a lot if you will like to help :D Ciao,

Roberto

comment:8 Changed 13 years ago by podskalsky

Hi Roberto,

Yes, i will help you to make a German translation. :-) I'm now regitered at transifex with the user "podskalsky", I've requested the membership to the german translation group - please enable my account. https://www.transifex.net/projects/p/testman4trac/team/de/

I will do the best for a good german translation.

Ciao, Andreas

comment:9 Changed 13 years ago by Roberto Longobardi

Thanks a lot!

You're now enabled, good work! :D

Thanks, ciao Roberto

comment:10 Changed 13 years ago by podskalsky

German Translation finished!

comment:11 Changed 13 years ago by Roberto Longobardi

Thanks so much, Andreas!

The translation looks very good (from a programmatic standpoint :D).

I'll include the new language catalog in 1.4.7 soon.

Ciao, Roberto

comment:12 Changed 13 years ago by Roberto Longobardi

Andreas, your translation has just been shipped with 1.4.7!

Thanks!

comment:13 Changed 13 years ago by Roberto Longobardi

Resolution: fixed
Status: newclosed

The change history of all test artifacts standard and custom properties has been added in release 1.4.8.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Roberto Longobardi.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.