Test

GNU/Linux Maven Frequently Used (Quickref)

Mavin compile (Java) code and create local package.

mvn clean package -DskipTests

Run a specific unit test from the command line.

mvn test -Dtest=JavaClassTest#specificTest

MSSQL Test Connection String With PowerShell

Quickly test a connection string with PowerShell.

$sConString = "Data Source=localhost;Integrated Security=true;Initial Catalog=master; MultipleActiveResultSets=True;" 
$oSQLCon = new-object ("Data.SqlClient.SqlConnection") $sConString 
$oSQLCon.Open() 
$oSQLCon.Close()