Writing tests with MSTest v2

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น • 16

  • @MrGeekGamer
    @MrGeekGamer 5 ปีที่แล้ว +18

    Doesn't talk about writing tests at all, only how to update to v2 and extensibility features.

  • @ivandrofly
    @ivandrofly 3 ปีที่แล้ว +1

    Extension method
    Recursive running test 18:00
    DynamicData 21:00
    Extending MStest 22:00

  • @meirkr
    @meirkr 5 ปีที่แล้ว +7

    Looks nice after we have adopted xunit.
    Trying to compare, does it also support async methods?
    How about grouping the tests by categories?
    Does it support fixture like solution?
    Disposable pattern?
    And about something xunit doesn't have but mstest1 does: support dll resolving path by runsettings. Does it also support this feature?

  • @shrividyahegde3119
    @shrividyahegde3119 4 ปีที่แล้ว

    while getting the data from the methods using Data Row, is there any naming convention to be followed , how does the test method map the returned data to the parameters of the Test method?

  • @Tolg
    @Tolg 3 ปีที่แล้ว

    Wish you could do a basic getting started demo, with 1) VSCode 2) Basic .Net Core 5 Console/Web app 3) MS Test 2.

  • @נתנאלכהן-ג6צ
    @נתנאלכהן-ג6צ 5 ปีที่แล้ว +2

    The migration from V1 to V2 is BAD. It is not so easy in a real project with hundreds of tests.
    MSTest V2 doesn't work with TestSettings file, you must use RunSettings.
    It doesn't work with DataSource attribute, so you need to implement a code of your own to read the test data and change it in all your tests!
    It doesn't work with DeploymentItem.
    A new framework version should UPGRADE the previous framework, not to remove very important features that are used in a lot of projects.

  • @aniruddhadonge
    @aniruddhadonge 4 ปีที่แล้ว

    If anybody can help that ill be great. How to rerun failed test in mstest v2

  • @vinzer72frie
    @vinzer72frie 5 ปีที่แล้ว +2

    Kendra is so cute

    • @MrGeekGamer
      @MrGeekGamer 5 ปีที่แล้ว

      Hired for her skill, no doubt.

  • @sandeshad1046
    @sandeshad1046 5 ปีที่แล้ว

    It's good but do not support execution from MTM.

  • @sau002
    @sau002 5 ปีที่แล้ว

    Good stuff. I am glad to see this.

  • @marcpanther7924
    @marcpanther7924 5 ปีที่แล้ว

    v2: still hot

  • @atomadeus
    @atomadeus 2 ปีที่แล้ว

    Can you speak English?