Metadata-Version: 2.1
Name: easyerrors
Version: 1.0.0
Summary: a simple module for testing out functions and catching its errors
Home-page: UNKNOWN
Author: Sjoerd Vermeulen
Author-email: sjoerd@marsenaar.com
License: UNKNOWN
Description: This module allows you to easily test simple functions. All errors will be catched and showed to you gracefully.
        
        Note that this module is incredibly basic and does not work with any kind of indented code, so e.g. for loops are not an option.
        
        code examples:
        ```
        >>> from easyerrors import test
        >>> 
        >>> @test
        >>> def tryout(msg, num):
        ... 	print(msg, num)
        ...
        >>> tryout('hey', 3)
        
        Testing code inside function 'tryout':
        
        -------- Test started! --------
        
        >>> print(msg, num,)
        hey 3
        
        
        -------- Test ended! --------
        ```	
        
        ```
        >>> from easyerrors import test
        >>> 
        >>> @test
        >>> def tryout(msg, num):
        ... 	print(msg, num)
        ... 	print(invalidargument)
        ...
        >>> tryout('hey', 3)
        
        Testing code inside function 'tryout':
        
        -------- Test started! --------
        
        >>> print(msg, num)
        hey 3
        
        >>> print(incorrectargument)
        Error: name 'incorrectargument' is not defined
        
        
        -------- Test ended! --------
        
         Errors found:
          - name 'incorrectargument' is not defined
          
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
