pex
Can Tests be written in 3.5 MsTest Unit Test assemblies?
Hi: I\'ve enjoyed playing around with Pex and Moles...now it\'s time to use it in earnest to cover an legacy app as much as possible.[详细]
2023-02-21 13:27 分类:问答Is allowing the possibility of NullReferenceExceptions to occur a Bad Thing?
I\'m playing with Pex and Moles and after running Pex found that nearly all the tests that Pex said failed were because NullReferenceExceptions were \"allowed\". Reading the Pex documentation, I came[详细]
2023-02-17 15:12 分类:问答PexAssert.Throws in PUT in combination with Run Pex
when I create a PUT that calls a method of the class under test and attribute it with PexMethod, \"Run Pex\" will use this method and create automatic generated tests for it.[详细]
2023-02-13 07:22 分类:问答Use of Microsoft Pex with Prism composite application
I\'m implementing unit testing in my Prism composite application and trying to implement Microsoft Pex (http://research.microsoft.com/en-us/projects/pex/) to speed up this task.[详细]
2023-02-09 03:57 分类:问答Code Contracts failing example Graph.Remove(Edge e)
Here\'s a simple graph manipulation method which I have decorated with Code Contracts. The ensures claim won\'t prove but I can\'t see why!I believe it claims that after calling Remove(), either the[详细]
2023-02-08 08:37 分类:问答Pex: How to indicate in a parameterized test that I expect an exception under certain conditions?
I\'m just getting started with Pex and running into an issue as described in the title.It seems that any parameterized tests generated by Pex or added by hand will create failing test cases for any in[详细]
2023-02-04 07:24 分类:问答Do Pex and Moq work together nicley?
Has anyone tried this? I like moq and i like what pex is doing, but haven\'t tried them together. 开发者_StackOverflowI\'d prefer to use moq over moles in most cases I think but am curious to see if[详细]
2023-01-31 01:16 分类:问答Why would an assert on a unit test with HostType("Moles") pass when run individually, but fail when run with a group of tests?
I recently got aboard the Pex & Moles bandwagon in order to test som开发者_运维技巧e logic with many elements that are static, non-virtual, sealed, etc.Recently, I\'ve begun to see behavior I can\[详细]
2023-01-20 07:12 分类:问答PEX: How would you test an equality method in pex?
So i\'m he开发者_高级运维re playing with PEX, it seems like a great idea. However I am having a few problems, such as I have no way to test an equals method using parameter unit tests.[详细]
2023-01-17 07:09 分类:问答Compatibility issue between VS2010, Pex, and SlimDX
I have downloaded June bits of Pex and June bits of SlimDX SDK.Installed them on my RTM VS2010 Premium.[详细]
2023-01-09 03:40 分类:问答