Book a Demo

Author Topic: Two questions: Test cases and templates  (Read 2238 times)

Derrick

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • Keepin' it real...
    • View Profile
Two questions: Test cases and templates
« on: July 07, 2006, 07:51:50 am »
Hi,

I just downloaded EA in order to test it for use in our development shop, and I have a couple of questions regarding functionality.

1.  How can I change the C# generation template so the curly braces are on a new line?
2.  How can I pull all of the test cases into one place for execution (or the creation of a test plan document)?

With regard to #1, I've tried to edit the C# templates so that the (sanitized) generated code goes from this:

Quote
   namespace foo {
                                            public enum bar : int {
                                                    Type1,
                                                    Type2
                                            }//end bar
    }//end namespace foo


to this:

Quote
   namespace foo
    {
                                            public enum bar : int
                                            {
                                                    Type1,
                                                    Type2
                                            }  //end bar
    }  //end namespace foo



But the generated code doesn't follow this standard.

Thank you for all of your help and suggestions in advance.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Two questions: Test cases and templates
« Reply #1 on: July 09, 2006, 08:35:23 pm »
Have a look at http://sharepoint.knowledgerecovery.com/external/eaug/EA%20Code%20Generation%20Templates/CS_Braces_on_new_line.xml from the EA user group sharepoint site.  You can import them using Tools | Import Reference Data.

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Two questions: Test cases and templates
« Reply #2 on: July 10, 2006, 01:20:37 am »
For 2)  try Project/Documentation/Testing Report...