Unit Test Frameworks by Hamill Paul

Unit Test Frameworks by Hamill Paul

Author:Hamill, Paul [Paul Hamill]
Language: eng
Format: epub
Tags: COMPUTERS / Software Development & Engineering / General
ISBN: 9780596552817
Publisher: O'Reilly Media
Published: 2009-02-08T16:00:00+00:00


assertNotAlmostEqual(self, first, second, places=7, msg=None)

assertNotAlmostEquals(self, first, second, places=7, msg=None)

failIfAlmostEqual(self, first, second, places=7, msg=None)

Test fails if first and second are equal after being rounded to places decimal places.

assertRaises(self, excClass, callableObj, *args, **kwargs)

failUnlessRaises(self, excClass, callableObj, *args, **kwargs)

Call callableObj with arguments args and keyword arguments kwargs. This assert passes if an exception of type excClass is thrown.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.