We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
namespace TestProject9; [TestClass] public class Test1 { [TestMethod] public void TestMethod1() { // Called. Correct behavior. } } public class Test2 : Test1 { [AssemblyInitialize] public static void AsmInit2(TestContext _) { // Called. Unexpected behavior. } [ClassInitialize] public static void ClassInit2(TestContext testContext) { // Not Called. Correct behavior. } [TestMethod] public void TestMethod2() { // Not called. Correct behavior } }
Root cause seems to be:
testfx/src/Adapter/MSTest.TestAdapter/Execution/TypeCache.cs
Line 414 in 97cb7b4
The text was updated successfully, but these errors were encountered:
These bugs of derived vs non derived are endless..
Sorry, something went wrong.
@Evangelink Willing to take a break here to fix this in minor version or should it be v4?
Sounds like a bug in the wanted/documented/expected behavior so I am fine to fix it.
PS: I think the ticket title should be "inconsistent".
Yup! Fixed the title.
@Evangelink I added to 3.8 milestone. Feel free to move/remove accordingly.
Youssef1313
Successfully merging a pull request may close this issue.
Root cause seems to be:
testfx/src/Adapter/MSTest.TestAdapter/Execution/TypeCache.cs
Line 414 in 97cb7b4
The text was updated successfully, but these errors were encountered: