Skip to content
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

JUnit - String parsing #2

Open
mxhdev opened this issue Oct 10, 2015 · 1 comment
Open

JUnit - String parsing #2

mxhdev opened this issue Oct 10, 2015 · 1 comment

Comments

@mxhdev
Copy link
Owner

mxhdev commented Oct 10, 2015

Introduction

There are currently many test calls for String parsing inside the main function of each class. This would be more appropriate in separate JUnit classes.

What to do

Implement a JUnit class for each class which exposes a

public static String

function and test these functions with different parameters.

Weblinks

JUnit Javadoc (JUnit 4.12)
http://junit.org/javadoc/latest/index.html
JUnit 4 Example
http://www.mkyong.com/unittest/junit-4-tutorial-1-basic-usage/

@mxhdev
Copy link
Owner Author

mxhdev commented Oct 11, 2015

The JUnit test classes could be placed inside the sqlchecker.test.junit package. The "junit" package might not exist yet

@github-staff github-staff deleted a comment from knofte Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant