This week I leaned and practise to add testing for my project is the most pupular testing framework for java.
. I did test according to the ,
After more than half a day of searching and experimenting, I finally figured it out according to the
After adding JUnit to the classpath:export CLASSPATH=$CLASSPATH:$JUNIT_HOME/junit.jar, I finally could run the sample test successfully.
Then I wrote my First Test. This is my first time to do java testing, I chose the simplest area of my code, input parameter. I used the assertEquals to check the output of the version command.
At last, I wrote testing for the Core of my app. I created a textfile and using processFile function to create the html result file, then read the file to check the basic html element.
Luckily my two tests are both pasted and I updated the whole testing process in my CONTRIBUTING file.
By doing this testing, I know strengthening my knowledge of Java fundamentals was crucial to improving my programming skills. Understanding Java basics and becoming familiar with various types of errors are important steps in improving my problem-solving skills. Embracing these elements not only gave me a solid foundation, but also equipped me with the skills to effectively tackle complex coding challenges.

SOCIAL SHARE CARD GENERATOR