앱 부팅
TestingModule에서 AppModule을 compile하고 createNestApplication으로 실제 pipeline을 만듭니다.
E2E Harness
INestApplication, Supertest, test database, global pipes를 실제 실행 경로에 맞춰 구성해야 controller, pipe, guard, filter가 함께 검증됩니다.
TestingModule에서 AppModule을 compile하고 createNestApplication으로 실제 pipeline을 만듭니다.
Supertest로 method, URL, body, headers, status, response shape를 한 번에 확인합니다.
sqlite, test container, transaction rollback 중 하나로 독립적인 DB 상태를 만듭니다.
afterAll에서 app.close와 DB connection 정리를 빠뜨리지 않아야 CI가 멈추지 않습니다.