cancel
Showing results for 
Search instead for 
Did you mean: 

How can we set Sql Server Data base for Junit

Former Member
0 Kudos

Hi can any one suggest how we can configure sql server data base for j unit testing

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ganesh,

You can go to hac->Platform->Tenants->Junit. Activate the Junit tenant. Once you have activated the junit tenant. Login into http://localhost:9001/hac_junit/login.jsp. Go to Platform->Configuration. You can update properties specific to Junit there. Do the initialization and verify.

If you need to know the properties for different databases, you can find the sample in project.properties available in platform extension. You can also add the properties in tenant_junit.properties instead of directly changing in hac.

If you need to activate the junit through property file, you can try using below entry in local.properties. installed.tenants=junit

I hope this solves your issue.

Thanks,

Jayahar

Former Member
0 Kudos

Suppose if I want to connect with master data based for j unit testing . it is possible??

Former Member
0 Kudos

Hi Ganesh,

Generally the tenants are isolated. You may have to import the specific impex files to your junit tenant.

Thanks, Jayahar