Click here to Skip to main content
15,892,005 members
Articles / Programming Languages / C#

White box testing with PEX

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
3 Jan 2013CPOL14 min read 23.9K   139   7  
Problems related to maintenance of Unit test suites, using PEX tp help with the solution, and various PEX concepts like PEX Factories, PEX Method (PUT), Parameterize Mock and Partial Stubs.
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>Insurer.Moles</name>
    </assembly>
    <members>
        <member name="T:SampleApp.Moles.MInsurer">
            <summary>Mole type of <see cref="T:SampleApp.Insurer"/>
            .</summary>
        </member>
        <member name="M:SampleApp.Moles.MInsurer.#ctor">
            <summary>Initializes a new mole</summary>
        </member>
        <member name="M:SampleApp.Moles.MInsurer.#ctor(SampleApp.Insurer)">
            <summary>Initializes a new mole for the given instance</summary>
        </member>
        <member name="M:SampleApp.Moles.MInsurer.BehaveAsCurrent">
            <summary>Assigns the &apos;Current&apos; behavior for all methods of the moled type</summary>
        </member>
        <member name="M:SampleApp.Moles.MInsurer.BehaveAsNotImplemented">
            <summary>Assigns the &apos;NotImplemented&apos; behavior for all methods of the moled type</summary>
        </member>
        <member name="P:SampleApp.Moles.MInsurer.Behavior">
            <summary>Assigns the behavior for all methods of the moled type</summary>
        </member>
        <member name="P:SampleApp.Moles.MInsurer.CanOverrideAgeRuleGet">
            <summary>Sets the mole of <see cref="P:SampleApp.Insurer.CanOverrideAgeRule"/>
            </summary>
        </member>
        <member name="P:SampleApp.Moles.MInsurer.CanOverrideAgeRuleSetBoolean">
            <summary>Sets the mole of <see cref="P:SampleApp.Insurer.CanOverrideAgeRule"/>
            </summary>
        </member>
        <member name="P:SampleApp.Moles.MInsurer.ConstructorIDAL">
            <summary>Sets the mole of <see cref="M:SampleApp.Insurer.#ctor(SampleApp.DAL.IDAL)"/>
            </summary>
        </member>
        <member name="P:SampleApp.Moles.MInsurer.GetInsureAmountPerson">
            <summary>Sets the mole of <see cref="M:SampleApp.Insurer.GetInsureAmount(SampleApp.Entity.Person)"/>
            </summary>
        </member>
        <member name="P:SampleApp.Moles.MInsurer.IsPersonEligiblePerson">
            <summary>Sets the mole of <see cref="M:SampleApp.Insurer.IsPersonEligible(SampleApp.Entity.Person)"/>
            </summary>
        </member>
        <member name="T:SampleApp.Moles.MInsurer.AllInstances">
            <summary>Define moles for all instances members</summary>
        </member>
        <member name="P:SampleApp.Moles.MInsurer.AllInstances.CanOverrideAgeRuleGet">
            <summary>Sets the mole of <see cref="P:SampleApp.Insurer.CanOverrideAgeRule"/>
            </summary>
        </member>
        <member name="P:SampleApp.Moles.MInsurer.AllInstances.CanOverrideAgeRuleSetBoolean">
            <summary>Sets the mole of <see cref="P:SampleApp.Insurer.CanOverrideAgeRule"/>
            </summary>
        </member>
        <member name="P:SampleApp.Moles.MInsurer.AllInstances.GetInsureAmountPerson">
            <summary>Sets the mole of <see cref="M:SampleApp.Insurer.GetInsureAmount(SampleApp.Entity.Person)"/>
            </summary>
        </member>
        <member name="P:SampleApp.Moles.MInsurer.AllInstances.IsPersonEligiblePerson">
            <summary>Sets the mole of <see cref="M:SampleApp.Insurer.IsPersonEligible(SampleApp.Entity.Person)"/>
            </summary>
        </member>
        <member name="T:SampleApp.Moles.MStringExtensions">
            <summary>Mole type of <see cref="T:SampleApp.StringExtensions"/>
            .</summary>
        </member>
        <member name="M:SampleApp.Moles.MStringExtensions.#ctor">
            <summary>Initializes a new mole</summary>
        </member>
        <member name="M:SampleApp.Moles.MStringExtensions.#ctor(SampleApp.StringExtensions)">
            <summary>Initializes a new mole for the given instance</summary>
        </member>
        <member name="M:SampleApp.Moles.MStringExtensions.BehaveAsCurrent">
            <summary>Assigns the &apos;Current&apos; behavior for all methods of the moled type</summary>
        </member>
        <member name="M:SampleApp.Moles.MStringExtensions.BehaveAsNotImplemented">
            <summary>Assigns the &apos;NotImplemented&apos; behavior for all methods of the moled type</summary>
        </member>
        <member name="P:SampleApp.Moles.MStringExtensions.Behavior">
            <summary>Assigns the behavior for all methods of the moled type</summary>
        </member>
        <member name="P:SampleApp.Moles.MStringExtensions.Constructor">
            <summary>Sets the mole of <see cref="M:SampleApp.StringExtensions.#ctor"/>
            </summary>
        </member>
        <member name="P:SampleApp.Moles.MStringExtensions.PuzzleByteArray">
            <summary>Sets the mole of <see cref="M:SampleApp.StringExtensions.Puzzle(System.Byte[])"/>
            </summary>
        </member>
        <member name="P:SampleApp.Moles.MStringExtensions.SomeLogicInt32">
            <summary>Sets the mole of <see cref="M:SampleApp.StringExtensions.SomeLogic(System.Int32)"/>
            </summary>
        </member>
        <member name="P:SampleApp.Moles.MStringExtensions.TrimEndStringString">
            <summary>Sets the mole of <see cref="M:SampleApp.StringExtensions.TrimEnd(System.String,System.String)"/>
            </summary>
        </member>
        <member name="T:SampleApp.Moles.MStringExtensions.AllInstances">
            <summary>Define moles for all instances members</summary>
        </member>
        <member name="T:SampleApp.Moles.SInsurer">
            <summary>Stub type of <see cref="T:SampleApp.Insurer"/>
            .</summary>
        </member>
        <member name="M:SampleApp.Moles.SInsurer.#ctor(SampleApp.DAL.IDAL)">
            <summary>Initializes a new instance</summary>
        </member>
        <member name="M:SampleApp.Moles.SInsurer.InitializeStub">
            <summary>Initializes a new instance of type SInsurer</summary>
        </member>
        <member name="M:SampleApp.Moles.SInsurer.IsPersonEligible(SampleApp.Entity.Person)">
            <summary>Sets the stub of <see cref="M:SampleApp.Insurer.IsPersonEligible(SampleApp.Entity.Person)"/>
            </summary>
        </member>
        <member name="F:SampleApp.Moles.SInsurer.IsPersonEligiblePerson">
            <summary>Sets the stub of <see cref="M:SampleApp.Insurer.IsPersonEligible(SampleApp.Entity.Person)"/>
            </summary>
        </member>
        <member name="P:SampleApp.Moles.SInsurer.CallBase">
            <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
        </member>
        <member name="P:SampleApp.Moles.SInsurer.InstanceBehavior">
            <summary>Gets or sets the instance behavior.</summary>
        </member>
        <member name="T:SampleApp.Moles.SStringExtensions">
            <summary>Stub type of <see cref="T:SampleApp.StringExtensions"/>
            .</summary>
        </member>
        <member name="M:SampleApp.Moles.SStringExtensions.#ctor">
            <summary>Initializes a new instance</summary>
        </member>
        <member name="M:SampleApp.Moles.SStringExtensions.InitializeStub">
            <summary>Initializes a new instance of type SStringExtensions</summary>
        </member>
        <member name="P:SampleApp.Moles.SStringExtensions.CallBase">
            <summary>Gets or sets a value that indicates if the base method should be called instead of the fallback behavior</summary>
        </member>
        <member name="P:SampleApp.Moles.SStringExtensions.InstanceBehavior">
            <summary>Gets or sets the instance behavior.</summary>
        </member>
    </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect TATA Communications
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions