-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Made a bat for running tests #133
base: development
Are you sure you want to change the base?
Conversation
runTests.bat
Outdated
) | ||
docker run -d --name nexpo_database -p 5432:5432 -e POSTGRES_USER=nexpo -e POSTGRES_PASSWORD=nexpo postgres:14 | ||
) ELSE IF "%1"=="-run" ( | ||
IF "%2"=="" ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't check if the database is running when you don't leave an argument after the -run
flag. Is this intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was not intentional, good observation! Thank you, I will fix that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The script appears to run as intended on my windows OS!
@S1monG and @emil-ronkainen |
Would be great if anyone could check if it works as intended now, after the fix. Thanks in advance |
Important:
Please review, esspecially if you have a windows computer (i dont know who of you have windows, so I just added all of you for review)
Due to me not having a bat compiler (a windows computer), I have not been able to test the bat file. So before you write a comment, please check it thoroughly. Especially:
If you receive issues, please tell me (if they are not easy for you to fix) - if you can fix it and you have a bat compiler, please do. Ask if anything is unclear of how to use the script. See -help flag for help <3
If it does not work, and you can not fix it, we can fix it on a thursday on someones windows computer