locked
Unit test Tools for WPF UI testing as well as functionality RRS feed

  • Question

  • Hi,

    Kindly let us know the below information.

    • Unit test Tools available for UI testing (WPF project) and also the functionality.
    • Does the tools provide the amount of code covered by the unit test cases developed by Unit test Tool?
    • Visual Studio version from which the above tools are available.

    Regards,

    Wednesday, July 18, 2018 7:44 AM

Answers

  • Hi,

    What's the edition of your visual studio 2013.

    Unit test is available in all edition of vs2013, but code Ui test are in Visual Studio Ultimate or Visual Studio Premium.

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by sharp1257 Thursday, July 19, 2018 10:11 AM
    Thursday, July 19, 2018 9:55 AM

All replies

  • Hi,

    Welcome to MSDN forum.

    >>Unit test Tools available for UI testing (WPF project) and also the functionality.

    Usually, we use Code UI test for testing UI of WPF application. It includes functional testing of the UI controls and let you verify that the whole application, including its user interface, is functioning correctly. 

    Check that your code is working as expected by creating and running unit tests. It's called unit testing because you break down the functionality of your program into discrete testable behaviors that you can test as individual units.

    >>Does the tools provide the amount of code covered by the unit test cases developed by Unit test Tool?

    https://docs.microsoft.com/en-us/visualstudio/test/using-code-coverage-to-determine-how-much-code-is-being-tested

    >>Visual Studio version from which the above tools are available.

    unit test is available in visual studio community/professional/enterprise, the other test tools like code UI test and code coverage ...are available in visual studio enterprise.

    https://visualstudio.microsoft.com/vs/compare/

    Best regards,

    Joyce



    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, July 19, 2018 9:22 AM
  • Hi Joyce,

    Thank you for your reply.

    >>https://visualstudio.microsoft.com/vs/compare/

    The above link is related to VS 2017.

    Currently our project is developed using VS 2013.

    For the sake of unit testing, do we need to upgrade our projects to VS 2017?

    Unit test Tools are not available with VS 2013?

    If not, is there is any other alternative?

    Regards,

    Thursday, July 19, 2018 9:33 AM
  • Hi,

    What's the edition of your visual studio 2013.

    Unit test is available in all edition of vs2013, but code Ui test are in Visual Studio Ultimate or Visual Studio Premium.

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by sharp1257 Thursday, July 19, 2018 10:11 AM
    Thursday, July 19, 2018 9:55 AM
  • Thank you.

    >What's the edition of your visual studio 2013.

    It's Professional edition.

    >>Unit test is available in all edition of vs2013, but code Ui test are in Visual Studio Ultimate or Visual Studio Premium.

    We will try to check them.

    Regards,

    Thursday, July 19, 2018 10:11 AM