Files
ChannelTests-TS/test/runner/TestRunner.ts
Alexander Zinn 9e063550c2 Add Browserstack API integration and supported browser type
* Created `BrowserstackApi` class for interacting with the Browserstack API, including a method to fetch supported browsers.
* Introduced `SupportedBrowser` type to define the structure of browser data returned from the API.
* Updated `TestRunner` to instantiate and run the test execution process, enabling command line options logging.
2025-08-18 18:05:29 -04:00

26 lines
563 B
TypeScript

import PCastAPI from '@techniker-me/pcast-api';
import RtmpPush from '@technniker-me/rtmp-push';
import CommandLine from '../config/CommandLine';
interface CommandLineOptions {
applicationId: string;
secret: string;
logLevel: string;
}
class TestRunner {
private static readonly _commandLineOptions: CommandLineOptions = CommandLine.parse(process.argv);
public static main(): void {
const testRunner = new TestRunner();
testRunner.run();
}
public run(): void {
console.log(TestRunner._commandLineOptions);
}
}
TestRunner.main();