Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

テスト実行時にSystem.exitが呼ばれるとkGPが終了してしまう #687

Open
ty-v1 opened this issue Nov 28, 2019 · 1 comment
Assignees

Comments

@ty-v1
Copy link
Contributor

ty-v1 commented Nov 28, 2019

以下のいずれかの条件を満たすと発生する可能性がある

  • テストコードに System.exitが含まれる
  • 修正対象のコードにSystem.exitが含まれる
@ty-v1
Copy link
Contributor Author

ty-v1 commented Mar 10, 2020

2020/03/10
テストコードのコンパイル前に,Junitのルールを突っ込む

/**
 * System.exit()が呼び出されてもテストを継続する.
*/
@Rule
public final ExpectedSystemExit exit = ExpectedSystemExit.none();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants