1.0.8 • Published 2 years ago

monday-test-reporter v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Monday Test Reporter

About

This package allows to :

  • track what's test into your app.

  • if the tests are passed or not.

  • Know when the last tests have been executed.

  • ...

Installation

# npm
$ npm i monday-test-reporter

# yarn
$ yarn add monday-test-reporter

Requirements

Get the column ids and sub column ids

How to find it

Usage (Junit)

const Publisher = require("monday-test-reporter").default;

const subItemColumnId = {
  Statut: "statut1",
  Duration: "chiffres1",
  Last_Update: "texte1",
};

const itemColumnId = {
  Statut: "statut1",
  File: "texte1",
  Last_Update: "texte1",
};

const boardId = 12345678;
const groupId = "new_group_7487489";
const folderpath = "./tmp";
const apiKey = process.env.MONDAY_API_KEY;

if (!apiKey) throw new Error("MONDAY API KEY NOT FOUND");

const publisher = new Publisher.junit({
  subItemColumnId,
  itemColumnId,
  apiKey,
});
publisher.publish(folderpath, boardId, groupId)

Usage (Mochawesome)

const Publisher = require("monday-test-reporter").default;

const subItemColumnId = {
  Statut: "statut1",
  Duration: "chiffres1",
  Last_Update: "texte1",
};

const itemColumnId = {
  Statut: "statut1",
  File: "texte1",
  Last_Update: "texte1",
};

const boardId = 12345678;
const groupId = "new_group_7487489";
const filepath = "./mochawesome-file-results.json";
const apiKey = process.env.MONDAY_API_KEY;

if (!apiKey) throw new Error("MONDAY API KEY NOT FOUND");

const publisher = new Publisher.mochawesome({
  subItemColumnId,
  itemColumnId,
  apiKey,
});
publisher.publish(filepath, boardId, groupId)

Result

result after have publish tests on monday

1.0.8

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago