Metadata-Version: 1.0
Name: Oktest
Version: 0.3.0
Summary: a new-style testing library
Home-page: http://pypi.python.org/pypi
Author: makoto kuwata
Author-email: kwa@kuwata-lab.com
License: MIT License
Download-URL: http://pypi.python.org/packages/source/O/Oktest/Oktest-0.3.0.tar.gz
Description: Oktest is a new-style testing library.
        ::
        
        from oktest import ok
        ok (x) > 0                 # same as assert_(x > 0)
        ok (s) == 'foo'            # same as assertEqual(s, 'foo')
        ok (s) != 'foo'            # same as assertNotEqual(s, 'foo')
        ok (f).raises(ValueError)  # same as assertRaises(ValueError, f)
        ok (u'foo').is_a(unicode)  # same as assert_(isinstance(u'foo', unicode))
        not_ok (u'foo').is_a(int)  # same as assert_(not isinstance(u'foo', int))
        ok ('A.txt').is_file()     # same as assert_(os.path.isfile('A.txt'))
        not_ok ('A.txt').is_dir()  # same as assert_(not os.path.isdir('A.txt'))
        
        You can use ok() instead of 'assertXxx()' in unittest.
        
        Oktest requires Python 2.3 or later. Oktest is ready for Python 3.
        
        NOTICE!! Oktest is a young project and specification may change in the future.
        
        See README_ for details.
        
        .. _README: http://packages.python.org/Oktest
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.3
Classifier: Programming Language :: Python :: 2.4
Classifier: Programming Language :: Python :: 2.5
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.1
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Testing
