锋利的架构简单的CRUD应用
我试图通过构建提到的测试应用程序来开始使用 Sharp 架构 <在这里,我已按照教程中给出的步骤进行操作,但在描述数据库模式生成时遇到了障碍。根据教程,运行测试
IceCreamYouScreamCorp.Tests.SharpArchTemplate.Data.NHibernateMaps.CanGenerateDatabaseSchema
将在数据库文件夹中生成架构,我在生成应用程序中找不到此测试 Templify。请任何知道解决方案的人指导我如何运行此测试以生成数据库模式......
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...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
可能是我对问题的表述不够好,我已经找到了解决方案
下载NUnit框架
它将创建所需的数据库示例应用程序的架构
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
如果您尝试使用2.0.0.3版本,则会遇到此问题。
尝试在 Templify 上选择“2.0.0.0”选项。
要运行测试,请打开 NUnit GUI,然后转到以下文件夹并打开 .dll 文件:
现在您可以在 NUnit 界面中看到正确的测试列表。
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:
Now you can see the right tests list in the NUnit interface.