Commit Graph

7 Commits

Author SHA1 Message Date
f3ecb8c35b clean up 2025-08-18 21:51:28 -04:00
a698b85c51 Enhance CommandLine and LoggerFactory for better type safety and clarity
* Further refined `CommandLine` class to ensure consistent use of `CommandLineOptions`.
* Improved method organization in command line option setup for better readability.
* Updated `LoggerFactory` to utilize `LoggingLevel` directly in logging level management, streamlining the process.
2025-08-18 18:32:11 -04:00
eced0a6a2c Refactor CommandLine and LoggerFactory for improved type handling
* Updated `CommandLine` class to replace `ConfigurationObject` with `CommandLineOptions` for better type consistency.
* Refactored command line option setup into a separate method for clarity.
* Modified `LoggerFactory` to directly use `LoggingLevel` type in `setLoggingLevel` method, enhancing logging level management.
2025-08-18 18:26:04 -04:00
3875b3878d Refactor logging level handling and remove example usage
* Updated `CommandLineOptions` and `ConfigurationObject` to use `LoggingLevel` type instead of string for log levels.
* Modified `LoggerFactory` to set logging levels using the new `LoggingLevelMapping` methods.
* Removed the `example-usage.ts` file as it was no longer needed.
* Adjusted `Threshold` class to simplify logging level management.
2025-08-18 18:22:38 -04:00
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
4b672f231f Add command line parsing and configuration management
* Introduced `CommandLine` class for handling command line options and arguments
* Added `TestConfiguration` class to manage application credentials and URIs
* Implemented example usage for generating command line arguments from a configuration object
* Updated `package.json` to include `commander` dependency
* Removed unused `TestRunner` class and created a new `TestRunner` for executing tests with command line options
* Adjusted logging level type to use lowercase values for consistency
2025-08-18 17:54:04 -04:00
1bc3aaa8aa Initial Commit 2025-08-18 17:18:43 -04:00