- AccountPermitTest
- Test account that is permit or not suspended account.
- DepositCashTest
- Test amount of deposit in one transaction isn't greater than 30,000.
- Test amount of deposit in one day per person isn't greater than 50,000.
- MinimumDepositCashTest
- Test amount of deposit in one transaction isn't lower than 100.
- Java SE Development Kit (JDK) Version 11 or higher.
- Apache Maven Version 3 or higher.
- Install JDK and Add ‘JAVA_HOME’ Environment Variable
- To install java, download JDK installer and add/update the
JAVA_HOME
variable to JDK install folder.
- To install java, download JDK installer and add/update the
- Download Maven and add ‘MAVEN_HOME’ and ‘M2_HOME’ Environment Variables
- Maven can be downloaded from this location. Set the
M2_HOME
andMAVEN_HOME
variable to maven installation folder. Installation Guide here.
- Maven can be downloaded from this location. Set the
- Access to project directory. For example,
/yourpath/depositCash $
- Run the command
All tests must be executed via this command, if you want to test only specific class, you may run
$ mvn test
For example,$ mvn -Dtest=ClassNameTest test
$ mvn -Dtest=DepositCashTest test
Vichyawat Nakarugsa
Student ID: 6110545635
Software and Knowledge Engineering
Kasetsart University