I'm using TestNG to test a few Spring services and I would need to clean up a few tables before running each test. For that, the most simple way I'm thinking of is to execute a bunch of TRUNCATE statements from inside my unit test via JDBC. But for that I need my database information which is in properties in the active profile.
Is there a way to access such properties from inside my test class? -- Sébastien Arbogast http://www.sebastien-arbogast.com
