I am new to C# and am having a particularly difficult time figuring out how test assemblies work. This is my Solution directory (with a single project MyProject inside of it):

MySolution/MySolutionFile.sln     -- My Solution File
MySolution/packages               -- My Packages Directory
MySolution/MyProject/Properties   -- My Project Properties

MySolution/MyProject/src                    -- My Source Code
                    /src/MyClass1.cs
                    /src/MyClass2.cs

MySolution/MyProject/test                   -- My NUnit Tests
                    /test/MyClass1Test.cs
                    /test/MyClass2Test.cs

MySolution/MyProject/TheMainClass.cs


Now I can run all the tests in the test folder from visual studio. However I want to run the tests from a CI system like TeamCity, in which case I need an assembly path. How do I generate just the test folder into an assembly to be run.

Do I need to add to the main class a method that runs each test in the MySolution/test folder?


Question: How does owning a home and paying on a mortgage fit into family savings and investment?
Answer: Unless you plan to sell your home and live in a box during your retirement I wouldn't consider it an investment that is a viable replacement for a retirement account.

Consider this: Even if housing prices DO go way up, you still need a place to live. When you sell that house and try to buy another one to live in, you will find that the other houses went up in price too, negating your gain.

The only way this might work is if you buy a much bigger house than you will need later and trade down to pull out some equity, or consider a reverse-mortgage for retirement income.