Unit Test Framework or MS Test

Neftali G Reyes 6 Reputation points
2021-02-05T02:56:59.697+00:00

Created a Library for Unit Test Framework using VS 2019 using c#.
In this library, I have a TestBase class with a TestStartup() and a TestCleanUp() methods. These two methods executed fine when TestBase class was inside the UT Project.

Since the TestBase class was included inside a library, these two methods don't execute anymore. I'm using the proper using statements to access the TestBase class, etc.
Is there a limitation as to the way I'm using the Base Class inside a library?

[TestClass]
public class UnitTest1: TestBase

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
337 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Neftali G Reyes 6 Reputation points
    2021-02-05T13:46:08.087+00:00

    Thanks for the answer, it made me go back and review the code and realized my TestInitilize declaration was gone. Don't know how that happened, but I added it back and everything is fine.

    1 person found this answer helpful.
    0 comments No comments