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

[S2JUnit4] @Parameters使用時に@BeforeClass,@AfterClassがクラスで1度だけ実行されるように修正しました #7

Merged
merged 2 commits into from Sep 23, 2014

Conversation

manhole
Copy link
Contributor

@manhole manhole commented Sep 12, 2014

S2JUnitで@parametersを使用する際に@BeforeClass,@afterclassがテストメソッドごとに実行されていましたが、
クラスで1度だけ実行されるように修正しました。
(JUnitと動きを合わせました)

@manhole manhole added the bug label Sep 12, 2014
@koichik
Copy link
Member

koichik commented Sep 13, 2014

コミットログのS2JUnitをS2JUnit4に(できればコミットログの先頭に [S2JUnit4] とラベル風に) 直して force pushしてもらえますか?

@manhole manhole force-pushed the fix_parameterized branch 2 times, most recently from 76a207c to 3d5acb7 Compare September 16, 2014 07:13
@manhole
Copy link
Contributor Author

manhole commented Sep 16, 2014

コミットログを直しました。

@manhole manhole changed the title S2JUnitで@Parametersを使用する際に、@BeforeClass,@AfterClassがクラスで1度だけ実行されるように修正しました [S2JUnit] @Parameters使用時に@BeforeClass,@AfterClassがクラスで1度だけ実行されるように修正しました Sep 16, 2014
@manhole manhole changed the title [S2JUnit] @Parameters使用時に@BeforeClass,@AfterClassがクラスで1度だけ実行されるように修正しました [S2JUnit4] @Parameters使用時に@BeforeClass,@AfterClassがクラスで1度だけ実行されるように修正しました Sep 16, 2014
@koichik
Copy link
Member

koichik commented Sep 20, 2014

@manhole コメントした些細な点以外はいいと思います。

@nakamura-to 念のためレビューお願いします。

@nakamura-to
Copy link
Contributor

問題ないと思います

@manhole
Copy link
Contributor Author

manhole commented Sep 21, 2014

@koichik @nakamura-to ありがとうございます。
コメント頂いた箇所を直しました。

@koichik
Copy link
Member

koichik commented Sep 22, 2014

@manhole あー、できれば追加の3コミットは rebase -i3d5acb7 にsquashしてほしいなぁ。。。 (そのあとでforce push)

@manhole
Copy link
Contributor Author

manhole commented Sep 22, 2014

squashしてforce commitしました。

(修正したのがわかりづらくなるかと思ってsquashしていませんでした。)

koichik added a commit that referenced this pull request Sep 23, 2014
[S2JUnit4] @parameters使用時に@BeforeClass,@afterclassがクラスで1度だけ実行されるように修正しました
@koichik koichik merged commit a9b11d5 into seasarorg:master Sep 23, 2014
@koichik
Copy link
Member

koichik commented Sep 23, 2014

ありがとうございます、マージしました。

Node.jsなんかだとこちら側で勝手にsquashすることもありだった (そしてマージコミット作らずrebaseする) のですが、プルリクのコミット (sha) を勝手に変えてはいけない文化もあるようだし悩ましいですねー。

@manhole
Copy link
Contributor Author

manhole commented Sep 24, 2014

マージありがとうございます!

はい、悩ましいです > プルリク
自分からはsquashに踏み切れなかったのですが、レビューアから促していただけて気が楽になりました。

@manhole manhole deleted the fix_parameterized branch September 24, 2014 12:39
@koichik koichik mentioned this pull request Nov 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants