How do I generate test data using Visual Studio 2012?
I found these 2 articles on how to do it using VS 2010. But what about VS 2012?
- SQL Server 2008 R2 Test Data Load Using VS2010
- Generating Test Data for Databases by Using Data Generators
My database is an SQL-Server 2008-R2 database.
Thanks in advance.
While this feature was in Visual Studio 2010 (if you added VSTE DBPRO), it did not make the cut for Visual Studio 2012 / SSDT (yet). This does not mean it will not make it into the product before the next release – it is the sort of thing that could come as a feature pack, power tool or even in a service pack. Same with database unit testing and data compare functionality.
As I suggested in a comment, in the meantime you could use a 3rd party tool like RedGate’s SQL Data Generator. Also see this question for some other options. And hang in there. 🙂