No announcements
Found 3151003 threads
-
0 Votes
Why EF is not able to drop and create my database in the unit test
Do you have any idea about how I can easily create a new independant Database with my actual Database ?Answered | 5 Replies | 577 Views | Created by arnaud.helin - Sunday, August 21, 2016 11:55 PM | Last reply by Zhanglong Wu - Thursday, August 25, 2016 8:17 AM -
2 Votes
Unit Testing EF6 with Include
I have worked on a few projects using an ORM like nHibernate, EF and in-house written object code generators and not one time have I seen the ORM or the generator code ...Answered | 7 Replies | 7059 Views | Created by SeligDrahcir - Saturday, September 28, 2013 11:57 PM | Last reply by dwaldo - Friday, December 13, 2013 5:12 PM -
1 Votes
Can we generate and test unit test code for EF based repository with IntelliTest
Hi Sudip_inn, EF here stands for Entity Framework, right?Answered | 1 Replies | 477 Views | Created by Sudip_inn - Thursday, December 7, 2017 12:36 PM | Last reply by Fletch Zhou - Friday, December 8, 2017 5:26 AM -
0 Votes
How could find code without unit test ?
As far as I know, there is no clear way to know which class or method has not written a unit test or has written a unit test.Answered | 4 Replies | 543 Views | Created by Farinaz K - Tuesday, February 23, 2016 11:06 AM | Last reply by Farinaz K - Monday, February 29, 2016 5:01 AM -
6 Votes
Code Contracts and Unit Tests
When generating unit tests, Pex adds code that ensures that the tests were compiled with the required set of Code Contracts instrumentation (the ...Answered | 11 Replies | 10732 Views | Created by David Hardin - Saturday, January 10, 2009 8:53 PM | Last reply by Peli - Tuesday, December 7, 2010 6:04 PM -
1 Votes
VS2010 - Unit Testing Code Sample
It might also be worth looking at The Art of Unit Testing for learning how to write better tests.Answered | 13 Replies | 17927 Views | Created by Allen.Feinberg - Wednesday, August 4, 2010 6:03 PM | Last reply by Mike Paterson - Wednesday, January 12, 2011 8:42 PM -
0 Votes
Unit testing XAML code behind
If Coded UI test can support C++ metro application, you can do coded UI test against the app, but Coded UI test does not support C++ metro ...Answered | 13 Replies | 4034 Views | Created by Minu7 - Friday, May 16, 2014 2:16 PM | Last reply by Amanda Zhu - Tuesday, May 27, 2014 8:13 AM -
1 Votes
need help on unit test
You're required to write the test code.Answered | 5 Replies | 2249 Views | Created by peter 9 - Friday, November 25, 2011 4:46 AM | Last reply by Yi-Lun Luo - Monday, November 28, 2011 4:16 AM -
2 Votes
How to execute unit test programmatically
So, to rephrase the question "what other mechanisms can i use to trigger the unit tests?Answered | 1 Replies | 9134 Views | Created by jephunnehrm - Thursday, January 19, 2012 8:36 AM | Last reply by Tarun__Arora - Thursday, January 19, 2012 11:10 PM -
0 Votes
Unit and Integration Testing
Unit tests are for verifying individual blocks of code are working.Answered | 6 Replies | 947 Views | Created by WRBehning - Monday, December 23, 2013 2:25 PM | Last reply by WRBehning - Thursday, January 2, 2014 9:21 PM -
0 Votes
How to unit test EF code easily
User828542847 posted thanks for pushing me to right direction. just like to know that do i need to write a repository on top of EF crud operation for unit ...Answered | 2 Replies | 71 Views | Created by Anonymous - Monday, July 3, 2017 5:33 PM | Last reply by Anonymous - Tuesday, July 4, 2017 11:33 AM -
0 Votes
SqlFunctions.StringConvert and unit testing
If you can provide some sample codes for us to test, that will be really helpful.Answered | 4 Replies | 5398 Views | Created by AttachedWPF - Monday, January 10, 2011 5:19 PM | Last reply by Michael Sun [MSFT] - Thursday, January 27, 2011 4:53 AM -
2 Votes
Unit test vs NUnit code.
I do when [Test Method] of unit test file is run.Answered | 5 Replies | 1100 Views | Created by Ahetejaz - Monday, September 18, 2017 12:02 PM | Last reply by Ahetejaz - Wednesday, September 20, 2017 12:06 PM -
1 Votes
How to Unit Test this Method?
What I need to achieve is to test UnitTestMe method and mocking Utils.Add (Not calling the production code but returning a mocked value).Answered | 8 Replies | 3229 Views | Created by Dynamic - Thursday, September 10, 2009 9:24 AM | Last reply by Wole Ogunremi - Thursday, September 10, 2009 3:13 PM -
0 Votes
unit testing for LightSwitch
EF finally managed to get to the point of having POCO unit-testable entities, it seems like such a huge step backward to not be able to unit test at all.Answered | 12 Replies | 6362 Views | Created by Olof Szymczak - Thursday, August 26, 2010 10:28 AM | Last reply by Garth F Henderson - Thursday, July 7, 2011 1:09 AM -
1 Votes
How to design class and function for unit testing
To learn unit test in Visual Studio, here is the unit test ...Answered | 3 Replies | 554 Views | Created by Sudip_inn - Thursday, November 30, 2017 7:15 PM | Last reply by Fletch Zhou - Friday, December 1, 2017 4:01 AM -
0 Votes
recommendations regarding testing scenarios using EF-CodeFirst
Hi Jan, Regarding your first question, Rowan Miller showed how to create a FakeDbContext and FakeDbSet on this blog post.Answered | 1 Replies | 4108 Views | Created by Jan C. de Graaf --working at New Limit-- - Wednesday, March 23, 2011 10:42 AM | Last reply by Morteza Manavi - Friday, March 25, 2011 2:32 PM -
3 Votes
Unit Testing
We can use this to do our unit testing.Answered | 2 Replies | 3757 Views | Created by Santhosh P - Thursday, February 19, 2009 4:31 AM | Last reply by A.m.a.L Hashim - Thursday, February 19, 2009 7:35 AM -
1 Votes
How to associate unit test to a test case work item via code
I would like to know how to get the list of test methods.Answered | 5 Replies | 10637 Views | Created by SMGK - Monday, April 26, 2010 10:51 PM | Last reply by marcm QA - Friday, February 11, 2011 2:08 PM -
0 Votes
Unit tests
If your production code is written in Visual C++, you can generate unit tests only if your product uses the /clr:safe compiler option.Answered | 6 Replies | 4600 Views | Created by mscheaf - Thursday, February 11, 2010 3:10 AM | Last reply by Anand K Reddy - Tuesday, May 17, 2011 5:27 PM - Items 1 to 20 of 3151003 Next ›
No announcements