Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/tests tree test xunit-based source generated runner #60846

Merged
merged 39 commits into from
Nov 17, 2021

Commits on Oct 22, 2021

  1. Add a basic xunit runner generator that generates a top-level-stateme…

    …nt Main method that runs all static parameterless [Fact] attributes in sequence, wrapped in a simple try-catch.
    jkoritzinsky committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    1bbfc9c View commit details
    Browse the repository at this point in the history
  2. Fix some bugs in the generator. Convert the Interop/PInvoke/Vector2_3…

    …_4 test suite to use the generator.
    jkoritzinsky committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    6523a11 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6143a48 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2021

  1. Import enum sources from XUnitExtensions and hook up support for some…

    … basic cases of OS and runtime-specific filtering.
    jkoritzinsky committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    9b9ae95 View commit details
    Browse the repository at this point in the history
  2. Add one more newline

    jkoritzinsky committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    54e93eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    14ca067 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    149ffe2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    23b7975 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2021

  1. Add support for extern-alias with references (to handle conflicting n…

    …ames for tests like the TypeGenerator suite). Add support for theories to handle the RunOnly tests that aren't failure cases and don't require out-of-proc execution.
    jkoritzinsky committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    623cc48 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. Apply suggestions from code review

    Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
    jkoritzinsky and akoeplinger committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    a20864e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a7ebe9 View commit details
    Browse the repository at this point in the history
  3. Update src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.cs

    Co-authored-by: Jan Kotas <jkotas@microsoft.com>
    jkoritzinsky and jkotas committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    f5009c8 View commit details
    Browse the repository at this point in the history
  4. Add the XUnit wrapper generator to the list of ambient project depend…

    …encies for package restoration
    trylek committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    59960aa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    191ac42 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2021

  1. Configuration menu
    Copy the full SHA
    a2bdb78 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2021

  1. Configuration menu
    Copy the full SHA
    e597fec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e783f9e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c978193 View commit details
    Browse the repository at this point in the history
  4. Support running the xunit wrapper generator in "standalone" mode for …

    …projects that directly reference System.Private.CoreLib.
    jkoritzinsky committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    270144b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4c73d6f View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2021

  1. Fix IL .assembly directive to be the assembly name that can be resolv…

    …ed by a referencing project (the simple name, not the file name).
    jkoritzinsky committed Nov 9, 2021
    Configuration menu
    Copy the full SHA
    e81deda View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2021

  1. Configuration menu
    Copy the full SHA
    4f9dcbb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5961f6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d412d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    377b8a0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    835f56d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c84c5d1 View commit details
    Browse the repository at this point in the history
  7. Support running tests with the [Fact] attribute that return 100 for s…

    …uccess and non-100 for failure.
    jkoritzinsky committed Nov 10, 2021
    Configuration menu
    Copy the full SHA
    b7fb243 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d49c1f4 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2021

  1. Update src/tests/Common/XUnitWrapperGenerator/ITestInfo.cs

    Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
    jkoritzinsky and safern committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    1b19bed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    040877c View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. Add support for running tests marked with <RequiresProcessIsolation>t…

    …rue</RequiresProcessIsolation> in a separate process using the cmd/sh build scripts.
    jkoritzinsky committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    d736995 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a77d13c View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2021

  1. Add support for substring-based test filtering and add infrastructure…

    … (but not actual support since I don't feel like writing a parser right now) for the full dotnet test --filter syntax.
    jkoritzinsky committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    04650fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ef73bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5881fa1 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2021

  1. Work around tests that hit compiler limits. Move tests that used Xuni…

    …tBase.cs to just use the new generator instead as the generator is now implicitly referenced in the same scenarios where XunitBase.cs was used.
    jkoritzinsky committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    eccf29a View commit details
    Browse the repository at this point in the history
  2. Rewrite how superpmicollect sets up its testing to make it more frien…

    …dly with the dependent project having dependencies (like on the XUnit wrapper generator).
    jkoritzinsky committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    ccd08a2 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2021

  1. Add back the _BuildSpmiTestProjectScripts target since I'm not sure w…

    …hy my alternative design wasn't working.
    jkoritzinsky committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    db68ce4 View commit details
    Browse the repository at this point in the history