What is `cmd /s` for?

Cmd /S is very useful as it saves you having to worry about “quoting quotes”. Recall that the /C argument means “execute this command as if I had typed it at the prompt, then quit”. So if you have a complicated command which you want to pass to CMD.exe you either have to remember CMD’s … Read more

How to run TestNG from command line

You need to have the testng.jar under classpath. try C:\projectfred> java -cp “path-tojar/testng.jar:path_to_yourtest_classes” org.testng.TestNG testng.xml Update: Under linux I ran this command and it would be some thing similar on Windows either test/bin# java -cp “.:../lib/*” org.testng.TestNG testng.xml Directory structure: /bin – All my test packages are under bin including testng.xml /src – All source … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)