Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support ellipsis wildcards #9
Python's doctest has an ellipsis options. It's useful for removing parts of a test that aren't important or are known to change. For example, creating a new object:
>>> object() # doctest: +ELLIPSIS <object object at 0x...>
This test doesn't care what the actual memory address of the object is. As far as I can tell, there is no way to write a test like this with Ruby DocTest.