Skip to content

Commit

Permalink
count
Browse files Browse the repository at this point in the history
  • Loading branch information
hoa-pham82 committed Oct 29, 2023
1 parent 3f0bd18 commit 0fff6e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extractData.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ import path from 'path'

export function extractData(resultPath, testType, buildNumber=process.argv[2]) {
const files = fs.readdirSync(resultPath);

const totalTestRun = files.filter((file) => file.endsWith('.json') && file !== 'executor.json').length;

console.log(totalTestRun)

let passedCount = 0;
let failedCount = 0;

Expand Down

0 comments on commit 0fff6e0

Please sign in to comment.