Metadata-Version: 2.1
Name: testly
Version: 1.0.3
Summary: Perform SOAP and REST test
Home-page: https://github.com/stewiejnr/testly
Author: Stewartium, RPhipps
Author-email: stewartium1@gmail.com,rhadjni@hotmail.com
License: MIT
Description: Perform SOAP, REST and UI / Feature tests
        
        
        Installation
        ============
        You can download and install the latest version of this software from the Python package index (PyPI) as follows::
        
            pip install --upgrade testly
        
        Usage
        =====
            python -m testly --help=
        
            python -m testly --command <command> [Options]
        or
        
        `python -m testly -c <command> [Options]`
        
        **Params**
        
        Available commands  &nbsp; &nbsp; &nbsp; &nbsp; http, texecute
        
        
        Test HTTP URL
        =============
        
             python -m testly -c http -h <your_host>
        
        **Params**
        
        -h, --host &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  The Http host  that you desire to test.
        
        
        **Optional Params**
        
        --proxy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;  Sets Http proxy
        
        --proxysec  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Sets Https proxy
        
        -----
        Test REST Endpoint
        =============
        
            python -m testly -c texecute -w <path to directory> -f <name of file>
            
        or
        
        `python -m testly -c texecute`
        
        **Params**
        
        -w &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; The directory containing all yaml files.
        
        -f &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The yaml file containing all the test cases.
        
        -----
        
        **YAML File Example Layout**
        ```
         test1:
            testType: Rest
            requestMethod: get
            url: https://api.github.com/users/defunkt
            responseCode: 200
            bodyContains: 
              login: defunkt
              name: Chris Wanstrath*
            
        
          test2:
            testType: Rest
            requestMethod: post
            url: https://droopal.free.beeceptor.com/droopal
            responseCode: 201
            payload:
              status: "Awesome!"
            bodyContains:
              status: "Awesome!"
            
          test3:
            testType: Rest
            requestMethod: put
            url: https://droopal.free.beeceptor.com/droopal
            responseCode: 200
            payload:
              status: "Edited!"
            bodyContains:
              status: "Edited!"
              when: "Today!"
        
          test4:
            testType: Rest
            requestMethod: delete
            url: https://droopal.free.beeceptor.com/droopal
            responseCode: 200
          
          ```
        ----
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: PyPy
Description-Content-Type: text/markdown
