🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

pusakatest

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pusakatest

pusakatest is an automation testing tool based on pactum using bdd (cucumber) style

latest
Source
npmnpm
Version
2.4.2
Version published
Maintainers
1
Created
Source

pusakatest

pusakatest-1pusakatest-2

:construction_worker: status

pusakatest-ci

:gear: setup

  • make sure nodejs and npm is already installed. you can verify it using these commands
node -v
npm -v
  • you can create new folder/directory to setup pusakatest and don't forget to change the folder/directory location. for example
mkdir hello-pusakatest && cd hello-pusakatest
  • to setup pusakatest, you can simply run this command (and follow the instructions)
    • If you don't have a package.json in your file directory, it will be copied from one of the templates available at pusakatest when you run below command
    • If you already have a package.json file, add all the dependencies mentioned in pusakatest to your package.json (below command will not override or replace your package.json file)
npx pusakatest@latest
  • nothing else after that, just run it!
npm run test
npm run test-publish

:bulb: writing feature script

  • to create new feature script, just add .feature file under /features folder/directory
  • after that, just re-run it
npm run test
  • example:
Feature: API REQRES.IN

    Scenario: Get all users list on REQRES.IN API
        Given I make a "POST" request to "https://reqres.in/api/users"
        When I receive a response
        Then I expect response should have a status "200"

:fire: contributors

All of amazing contributors

:muscle: support me

:bookmark: credits

Keywords

api

FAQs

Package last updated on 30 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts