Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » how to copy existing test case?
how to copy existing test case? [message #1194829] Mon, 18 November 2013 18:18 Go to next message
Neon Ngo is currently offline Neon NgoFriend
Messages: 5
Registered: March 2013
Junior Member
We have multiple supported versions (e.g. 1.x and our head development at 2.x) of our Eclipsed based application/product and would like to know how to copy an existing test case from one version to the next then make appropriate modifications.

The main reason for copying a test case is because we currently do not have 100% test coverage (and probably will not ever reach complete coverage because of the nature of changing requirements). As we are adding test cases into our product's 2.x version, we may need to backport a set of test cases into the 1.x test suite to beef up it's testing and prevent regression bugs from appearing in our product's 1.x branch.

The second reason is that we may identify a bug/regression issue that we want to add a test case in the 1.x version; based on several test cases developed for the 2.x version. Yet another similar scenario is that we add a minor new feature to our product's 1.x (low risk) but in our product's 2.x branch will have that feature done a little differently.

The third reason for copy paste (within the same product version) is that we have similar but different views of things and developing a module is not the right answer, as the are different enough, but we would like to reduce the time to create the test case for the second view by starting with the test case from the first view then making mods (e.g. branching an existing test case).

The export / import feature does not appear to provide this capability.

I understand the copy-paste is frowned upon and intentionally left out in Jubula's initial design, but how else would we accomplish copying test cases from a later product version to a previous version?
Re: how to copy existing test case? [message #1197068 is a reply to message #1194829] Tue, 19 November 2013 18:44 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 556
Registered: July 2009
Senior Member
You can do it with the refactor menu (although it's not really intended for that)

[Updated on: Tue, 19 November 2013 18:44]

Report message to a moderator

Re: how to copy existing test case? [message #1198125 is a reply to message #1197068] Wed, 20 November 2013 06:48 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

As Sylvain says, if you are working within the same project then you could (mis)use Wink the refactor -> save as new Test Case option. If you're working on different projects, then you might want to think about having a common reused project that they can all use.

Hope that helps,
Alex
Re: how to copy existing test case? [message #1213982 is a reply to message #1198125] Wed, 27 November 2013 13:39 Go to previous message
Neon Ngo is currently offline Neon NgoFriend
Messages: 5
Registered: March 2013
Junior Member
thank-you for pointing out where is feature is hidden.
Previous Topic:RCP AUT not detectet when using plugin from Kepler Update Site
Next Topic:Access to HTML table content
Goto Forum:
  


Current Time: Thu Apr 25 18:12:31 GMT 2024

Powered by FUDForum. Page generated in 0.03298 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top