Skip to content

테스트 실행 순서 관리 #22

@raipen

Description

@raipen

현재 각 .test.ts 파일들의 실행 순서가 정해져있지 않음. 그러나 userService.test.ts에서 나온 결과가 다른 모든 서비스테스트에서 사용되고, menuService.test.ts의 결과값들이 orderService.test.ts에서 사용되는 등 순차적으로 진행되는 것이 더 좋아보임.
=>각 테스트 파일의 결과값들을 모아서 다음 테스트 파일로 넘겨주는 식으로 사용

https://stackoverflow.com/questions/32751695/how-to-run-jest-tests-sequentially 를 참고하면 해결 가능해보임.

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort:hard많은 파일, 대부분의 상황과 히스토리에 대한 이ㅐ 필요type:feat새로운 기능urgency:low다른 업무가 없다면 해결해주세요

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions