Kevin Nguyen
Kevin Nguyen

Reputation: 105

TestNG or Spring Test framework?

I have used TestNG+Rest Assured for rest api service testing(application is written based on Spring framework) and just want to know if it is better to use Spring test framework alone or integration TestNG+Spring test.

Thanks.

Upvotes: 0

Views: 352

Answers (1)

Sundararaj Govindasamy
Sundararaj Govindasamy

Reputation: 8495

Use the combination of both.

TestNG will act as full featured test framework and Spring Test framework to mock spring beans (In other words, to get the out of the box spring support).

Upvotes: 2

Related Questions