#!/bin/bash



#/c/"Program Files (x86)"/"Microsoft Visual Studio"/2019/Community/Common7/IDE/MSTest.exe $@ 


if [ ! -d .git ];
then
	echo "in a git directory plz"
	exit 0
fi



if [ $# -eq 0 ];
then
	echo "try with any of these"
	find . -name *.IntegrationTests.*.dll | grep 'bin/Debug'
	find . -name *.Tests.dll #| grep 'bin/Debug'
	exit 0
fi

dotnet test $@



