File size: 579 Bytes
275b9f3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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();