Sharp Architecture Simple CRUD Application
-
17-04-2021 - |
Frage
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...
Lösung
may be i have not pharsed the question well enough, i have figured out the solution
download the NUnit framework
runt the test by using the NUnit
it will create the desired database schema for the sample application
Andere Tipps
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.