Book a Demo

Author Topic: Bulk change test properties?  (Read 3368 times)

MaxRussell

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Bulk change test properties?
« on: March 14, 2008, 04:03:59 am »
I've spent a large portion of today adding my test coverage against Use Cases in EA and just realised that I've added them all as Unit tests, rather than system...  :-[ , no, in fact,  :'(

Is there a quick way to select the tests I've added and change their property from Unit to System or will I have to go and copy them all into system tests?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Bulk change test properties?
« Reply #1 on: March 14, 2008, 08:10:31 am »
Max,

I tripped over this the other day. See http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1205213255/1#1.

Don't read my post, but Simon's afterwards. He set me straight! and read what's below. Sigh...

David
« Last Edit: March 14, 2008, 11:31:11 am by Midnight »
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Bulk change test properties?
« Reply #2 on: March 14, 2008, 09:54:05 am »
Actually David, that option won't help here, he's talking about the type of tests against an element.

Unfortunately, I can't think of any way to do it, other than:
  • Direct database update (with the usual conditions about backing it up etc.)
  • Automation client/Add-in.
  • Manually re-entering them.

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Bulk change test properties?
« Reply #3 on: March 14, 2008, 10:08:37 am »
Simon,

What EA would benefit from is displaying a "lowest common denominator" pop up menu when a bunch of objects are selected.  You could then use this to apply bulk changes, to object types, fonts etc...

Alternatively - what about including the object type on a diagrams "show element list" and allowing a user to change this (ok - need to think through the repercussions of this one).

Anything planned for allowing bulk changes this?

David.
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

MaxRussell

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Bulk change test properties?
« Reply #4 on: March 14, 2008, 08:27:56 pm »
I think I'm going to get one of our DB chappies to sort this out. I have CTRL-C, CTRL-V fatigue.

Our system is using Oracle - is there anything they should be partiucularly aware of? Are any GUIDs maintained? Would it just be changing a string? What tables/records need to be modified?

ta
« Last Edit: March 14, 2008, 08:29:42 pm by MaxRussell »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Bulk change test properties?
« Reply #5 on: March 17, 2008, 08:21:22 am »
You'll only need to update t_objecttests.TestClass.

1 = Unit
2 = Integration
3 = System
4 = Acceptance
5 = Scenario