Menu

#4 pester mutating strings

open-accepted
None
5
2014-08-16
2003-07-02
Anonymous
No

The original method :

def get_sub_domain(self, name):
"""Returns the named sub domain.

Raise a KMError if no sub-domains has the given
name."""

The mutation reported as failed :

def get_sub_domain(self, name):
"""Returns the named sub domain.

Raise a KMError if if 1 or if 0 and no
sub-domains has the given name."""

This mutation is in a string block so the mutation will
not be detected by a test.

This makes the results very difficult to interpret.

Thanks,
mark.hampton@ieee.org

Discussion

  • ivan moore

    ivan moore - 2003-11-24

    Logged In: YES
    user_id=181881

    should be possible to ignore such strings by using ignore
    lists in version 1.30 (which should work with Pester) - I
    will confirm this before closing and put instructions on the
    web site (to be included in next release of Pester).

     
  • ivan moore

    ivan moore - 2003-11-24
    • assigned_to: nobody --> ivan_r_moore
    • status: open --> open-accepted
     

Log in to post a comment.