Skip to content

rey-rios/todoist-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

todoist api

Newman API Automation Testing repo for https://api.todoist.com/

Requirements

  1. Nodejs installed
  2. Newman installed

Installation

  1. Clone repository using git bash to your desired location:
    git clone https://github.com/rey-rios/todoist-api.git

  2. Open the cloned project using Visual Studio Code (VSCode)

  3. In VSCode's terminal run the following command:
    npm install

Running the tests

Execute below command in VSCode's terminal to run all the Tasks tests:
npx newman run ./YOUR_APP/tests/backEnd/collections/tasks.json -e ./YOUR_APP/tests/backEnd/envVariables/env.json -r htmlextra --reporter-htmlextra-export ./YOUR_APP/tests/backEnd/reports/report.html --env-var token="{your_todoist_token}" *

Execute below command in VSCode's terminal to run all the Create Tasks Data Driven tests:
npx newman run ./YOUR_APP/tests/backEnd/collections/create_Tasks_DDT.json -e ./YOUR_APP/tests/backEnd/envVariables/env.json -r htmlextra --reporter-htmlextra-export ./YOUR_APP/tests/backEnd/reports/report.html -d ./YOUR_APP/tests/backEnd/data/tasks.csv --env-var token="{your_todoist_token}" *


*Replace {your_todoist_token} with a valid todoist-api Auth token.

HTML report will be published in below path:
YOUR_APP/tests/backEnd/reports/report.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages