pusakatest

2.2.3 • Public • Published

pusakatest

asciicast

👷 status

pusakatest-ci

⚙️ 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
  • nothing else after that, just run it!
npm run test
npm run test-publish

💡 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"

🔥 contributors

All of amazing contributors

🔖 credits

Package Sidebar

Install

npm i pusakatest

Weekly Downloads

5

Version

2.2.3

License

MIT

Unpacked Size

32.2 kB

Total Files

29

Last publish

Collaborators

  • depapp