Getting Started With GemPyp

Getting Started With GemPyp

GemPyp
Requirements Python  ≥ 3.6 pip  Installation Steps to install python on Windows Go to the official Python download page for Windows . Find a stable Python 3 release. Click the appropriate link for your system to download the executable file: Windows installer (64-bit) or Windows installer (32-bit). Open command prompt Check python version - python --version Install PIP using command - python -m pip install pip Check pip version - pip --version Steps to install python on Linux Most of the Linux OS has Python pre-installed. Check python version - python --version If Python is not installed then go to the official Python download page for Linux  Find a stable Python 3 release. Download a source tarball. Open the terminal and Navigate to the directory where python tar file is downloaded. Extract the tar file - tar -xf python-file-name.tar.xz…
Read More
GemPyp Plugin

GemPyp Plugin

GemPyp
Introduction Step into the realm of efficient testing with Gempyp – a robust plugin designed toseamlessly incorporate Behave and Pytest. Say goodbye to the hassle of managing multiple reporting and configuration setups; Gempyp simplifies the testing process, providing an intelligent solution for your testing needs. Getting Started 1. Testcase File Your test case file remains just like other Pytest and behave files. Pytest Test File from testFunction import TestFunction import pytest from gempyp.common import common def test_string_assertion(): assert ("loud noises".upper() == "LOUD NOISES") def test_list_assertion(): assert (list(reversed([1, 2, 3, 4])) == [4, 3, 2, 1]) @pytest.mark.webtest def test_loop_assertion(): assert (37 in { num for num in range(2, 50) if not any(num % div == 0 for div in range(2, num)) }) @pytest.fixture def setup_data(): data = [1, 2, 3, 4,…
Read More