Spaces:
Running
on
Zero
Running
on
Zero
import { LineCommunication } from './LineCommunication'; | |
import { TestCases } from './TestCases'; | |
import { Logger } from './utils/Logger'; | |
const logger = new Logger(); | |
async function main() { | |
try { | |
const lineCommunication = new LineCommunication(); | |
const testCases = new TestCases(); | |
await lineCommunication.authenticate(); | |
const testCasesData = await testCases.generateTestCases(); | |
logger.log('Test cases generated successfully!'); | |
logger.log(testCasesData); | |
} catch (error) { | |
logger.error('Error generating test cases:', error); | |
} | |
} | |
main(); |