Metadata-Version: 1.1
Name: fluentmock
Version: 0.2.2
Summary: Fluent interface facade for Michael Foord's mock.
Home-page: https://github.com/aelgru/fluentmock
Author: Michael Gruber
Author-email: aelgru@gmail.com
License: Apache License, Version 2.0
Description: |Logo| |Build Status|
        
        Fluent interface facade for Michael Foord's Mock. \* Easy and readable
        configuration of mock side effects. \* Configuration and verification
        using matchers.
        
        A example test using *fluentmock* and hamcrest: \`\`\`python from
        fluentmock import UnitTests, when, verify from hamcrest import
        assert\_that, equal\_to
        
        class SeveralAnswersTests(UnitTests): def
        test\_should\_return\_configured\_values\_in\_given\_order(self):
        
        ::
        
            when(targetpackage).targetfunction(2).then_return(1).then_return(2).then_return(3)
        
            assert_that(targetpackage.targetfunction(2), equal_to(1))
            assert_that(targetpackage.targetfunction(2), equal_to(2))
            assert_that(targetpackage.targetfunction(2), equal_to(3))
        
            verify(targetpackage).targetfunction(2)
        
        \`\`\`
        
        Documentation
        -------------
        
        -  `Comparing Mock and
           Fluentmock <https://github.com/aelgru/fluentmock/blob/master/docs/COMPARISON.md>`__
        -  `Migrating from Mockito to
           Fluentmock <https://github.com/aelgru/fluentmock/blob/master/docs/MIGRATION.md>`__
        
        Motivation
        ----------
        
        ... was to replace mockito with something that is as powerful as Mock.
        
        .. |Logo| image:: https://raw.github.com/aelgru/fluentmock/master/docs/fluentmock-logo.png
           :target: https://pypi.python.org/pypi/fluentmock
        .. |Build Status| image:: https://travis-ci.org/aelgru/fluentmock.png?branch=master
           :target: https://travis-ci.org/aelgru/fluentmock
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: Quality Assurance
