Metadata-Version: 2.1
Name: quality-toolkit
Version: 1.2.3
Summary: Toolkit for the quality in order to help writing tests
Home-page: https://github.com/veepee-oss/quality-toolkit
Author: VpTech
Author-email: vptech@veepee.com
License: UNKNOWN
Description: # Quality-Toolkit
        
        Toolkit for the quality in order to help writing tests
        
        ## Contribution
        
        Clone the project
        
        ```bash
        git clone https://github.com/veepee-oss/quality-toolkit quality-toolkit
        cd quality-toolkit
        ```
        
        ## Installation in local
        
        ```bash
        make install
        ```
        
        ## Installation in a project
        
        Edit the project's requirements.txt and add the line :
        
        ```txt
        quality-toolkit
        ```
        
        and finish by install the project dependencies :
        
        ```bash
        pip3 install
        ```
        
        ## How to use the classes
        
        ### Helpers
        
        This library share functions that help to build a steps
        
        example :
        
        ```python
        from quality_toolkit.helpers.api_functions import send_api_request
        from resources.environment import urls
        
        ...
        context.response = send_api_request("GET", urls.MY_API_URL, [200])
        ...
        ```
        
        ### Services
        
        This library share services that give customize clients
        
        ```python
        from quality_toolkit.services.sso import Sso
        # Create your own resources for your application
        from resources.environment.sso import sso_env
        
        ...
        context.sso1 = Sso(
            sso_env.SERVER_URL,
            sso_env.REALM_NAME,
            sso_env.CLIENT_ID,
            sso_env.CLIENT_SECRET,
            sso_env.AUDIENCE)
        context.sso2 = Sso(
            sso_env.SERVER_URL,
            sso_env.REALM_NAME,
            sso_env.CLIENT_ID,
            sso_env.CLIENT_SECRET,
            sso_env.AUDIENCE)
        ...
        token1 = context.sso1.jwt_token()
        token2 = context.sso2.jwt_token()
        ...
        ```
        
Keywords: Quality toolkit
Platform: UNKNOWN
Description-Content-Type: text/markdown
