Created
February 9, 2017 03:33
-
-
Save houdq/3f9d4bd0a9748b647b20a0e25fbd5979 to your computer and use it in GitHub Desktop.
spock 单元测试 免 runapp
This file contains hidden or 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
@CompileStatic | |
@ActiveProfiles(value = "testing") | |
@ContextConfiguration(loader = SpringBootContextLoader, classes = [InvestmentApplication]) | |
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment