Ticket T612663
Visible to All Users

Howto: Create a test execution documentation

created 7 years ago (modified 7 years ago)

One of our customers is requesting for a testing protocol of the automated unit tests.

Is there a feature in CodeRush which would provide me with an overview of all tests and their state including the execution time?

If there isn't then wouldn't it be a good feature to create such a documentation by using the test output combined with XML documentation from the tests?

Or do you even know such a tool which is publicly available? I wasn't able to find one, yet.

Any feedback would greatly be appreciated.

best regards,
Alex

Show previous comments (5)
DevExpress Support Team 7 years ago

    Hello Alex,

    Thank you for the positive feedback.

    To add duration for each test you need to click "Show duration" on the toolbar of the TestRunner Window (see the screenshot).
    To add XML Doc Comments for test methods, you need to check the "Include XML documentation comments in export" option on the "Unit Testing \ Test Runner" options page.

    We found that we do not add XML Doc Comments for types but we should, and I've created a separate ticket on your behalf (T667190: Test Runner - Test execution report does not contain XML Doc Comments for types) that will be answered shortly.

    Clarify please, when you are talking "execution time" do you mean the full execution time for all tests in report?

    SD SD
    Software Development 7 years ago

      Hi George

      I just realized that there's a new Option of the test runner to include the XML comments in the Export file.
      This is just great.

      One Problem is that the Export crashes as soon as there's a Test which has a badly formed XML comment like follows:

      C#
      ///// <summary> /// Deletes all assets. /// </summary> [TestMethod()] [Ignore] public void DeleteAllAssets() {

      If so the creation Fails with "An error occured during Export".

      best regards,
      Alex

      DevExpress Support Team 7 years ago

        Hello Alex,

        I've created a separate ticket on your behalf (T667218: TestRunner - A test execution report fails if XML Doc comments are wrong). It has been placed in our processing queue and will be answered shortly.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.