You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new Qase JS reporter in minutes by leveraging this core reporter.
Use Qase core reporter with test framework custom reporter hooks
import{QaseCoreReporter,QaseOptions,QaseCoreReporterOptions,TestResult}from"qase-core-reporter";constreporterOptions: QaseOptions={// expected options, provided by reporter userapiToken: 'lknkldnfknobek'projectCode: 'DH'};constqaseCoreReporterOptions: QaseCoreReporterOptions={// expected core options, provider by reporter developerframeworkName: 'vitest',reporterName: 'vitest-qase-reporter'};// Initialize Core reporter with expected paramsconstreporter=newQaseCoreReporter(reporterOptions,qaseCoreReporterOptions);// On start hookreporter.start();// On test resultsreporter.addTestResult(test: TestResult,status,attachments);// On end/complete hookreporter.end({spawn: false});// spawn true will finish reporting in a child process