Using JUnit for SCM CLI
I want to add my own SCM CLI subcommand and write some JUnit to test them. But before I wanted to run the RTC JUnit for the standard SCM CLI subcommands, so I took the RTC-SDK-2.0.0.2.zip and unzip it in my RTC environment after that I have imported the com.ibm.team.filesystem.cli.tests plug-in with sources from the plug-in view and run the SniffCommandLineTests junits against a local server 2002 with this arguments:
-ea
-Ddebug.cli.app=C:\apps\RTC-Client-2.0.0.2\jazz\scmtools\eclipse\scm.exe
but have some errors like:
com.ibm.team.repository.transport.client.AuthenticationException: CRJAZ0124I Invalid username or password.
After that I have created a user 'test' and re-run junit with:
-ea
-Ddebug.cli.app=C:\apps\RTC-Client-2.0.0.2\jazz\scmtools\eclipse\scm.exe
-Dserver.user=test
-Dserver.password=test
As is, some BasicTests test cases run but for example test_login_nickname test case (and some others) does not run.
Do I need to initialize the SCM / database with some other users?
Is there any program to run which automatically initialize my local server?
Is there any document about this?
Thanks
-ea
-Ddebug.cli.app=C:\apps\RTC-Client-2.0.0.2\jazz\scmtools\eclipse\scm.exe
but have some errors like:
com.ibm.team.repository.transport.client.AuthenticationException: CRJAZ0124I Invalid username or password.
After that I have created a user 'test' and re-run junit with:
-ea
-Ddebug.cli.app=C:\apps\RTC-Client-2.0.0.2\jazz\scmtools\eclipse\scm.exe
-Dserver.user=test
-Dserver.password=test
As is, some BasicTests test cases run but for example test_login_nickname test case (and some others) does not run.
Do I need to initialize the SCM / database with some other users?
Is there any program to run which automatically initialize my local server?
Is there any document about this?
Thanks