i am trying to get start with the Sharp Architecture by building the test application mentioned here, i have followed through the steps given in the tutorial but hit a road block where the database schema generation is described. According to the tutorial running the test

IceCreamYouScreamCorp.Tests.SharpArchTemplate.Data.NHibernateMaps.CanGenerateDatabaseSchema

will generate the schema in the Database folder, i couldn't find this test in the generate application by Templify. Please anybody who knows the solution guide me how to run this test so to generate the database schema...

有帮助吗?

解决方案

may be i have not pharsed the question well enough, i have figured out the solution

  1. download the NUnit framework

  2. runt the test by using the NUnit

it will create the desired database schema for the sample application

其他提示

If you tryed to use the version 2.0.0.3, you will have this problem. Try to select the "2.0.0.0" option on Templify. To run the test, open NUnit GUI, and go to the following folder and open the .dll file:

[Your_Templifyed_Folder]\Solutions\[Your_Solution_Name].Tests\bin\Debug\[Your_Solution_Name].Tests.dll

Now you can see the right tests list in the NUnit interface.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top