You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/07/26 23:15:55 UTC

[GitHub] [beam-starter-kotlin] tosun-si commented on a diff in pull request #1: Initial commit

tosun-si commented on code in PR #1:
URL: https://github.com/apache/beam-starter-kotlin/pull/1#discussion_r930485511


##########
app/src/test/kotlin/beam/starter/AppTest.kt:
##########
@@ -0,0 +1,28 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+package beam.starter
+
+import org.apache.beam.sdk.testing.PAssert
+import org.apache.beam.sdk.testing.TestPipeline
+import org.junit.Rule

Review Comment:
   For my example presented in Beam Summit, I also used `TestPipeline` with a Junit 4 `@Rule` :
   
   https://github.com/tosun-si/teams-league-kotlin-dlq-asgarde-beam-summit/blob/main/src/test/kotlin/fr/groupbees/domain_ptransform/TeamStatsTransformTest.kt



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org