Created
February 4, 2023 04:16
-
-
Save cacoco/0768394ecf9a6e352ba1d3a5ab43a5e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.twitter.inject.server.{EmbeddedTwitterServer, FeatureTest} | |
class MyTwitterServerFeatureTest extends FeatureTest { | |
override protected val server = | |
new EmbeddedTwitterServer(new MyTwitterServer) | |
override protected def beforeAll(): Unit = { | |
server.start() | |
} | |
test("MyTwitterServer#starts") { | |
server.isHealthy | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment