Hi there Does anyone use spek for testing spring a...
# spring
m
Hi there Does anyone use spek for testing spring apps?
c
my team does. Although I will say, it is not always the best experience in my opinion.
m
about experience - from issues (junit, spek repos) that i`ve seen I understand that it a bit “young” but currently I`m trying to fund way parametrized/ordered tests… Simple rest testing Have tried spok but it’s a bit strange/diffigult for me to work with groovy.
so main question how you start application that you want to test - As I understand
Copy code
@SpringBootTest(
    webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT
)
@ActiveProfiles(value = ["test"])
@ExtendWith(SpringExtension::class)
its not an option for spek at the moment
n
if you search for a way to easily write parameterized/ordered tests i’d suggest using testng it’s integrated natively with maven/gradle/intellij idea/eclipse
c
Minutest has support for junit rules and so spring should just work
m
@christophsturm Minutest seems very similar to spec. Have you mentioned this
<https://github.com/dmcg/minutest/network/members>
“minutest”? @nfrankel tnx. will take a look
👍 1