Skip to content

feat: Add Maven frameworks support#795

Merged
yanglbme merged 3 commits into
TheAlgorithms:Developmentfrom
laingke:Development
Aug 27, 2019
Merged

feat: Add Maven frameworks support#795
yanglbme merged 3 commits into
TheAlgorithms:Developmentfrom
laingke:Development

Conversation

@laingke

@laingke laingke commented Jul 19, 2019

Copy link
Copy Markdown
  1. Add Maven frameworks support to help it more like a Java project.
  2. Refact all the testcase by using JUnit Jupiter (in most cases, we can also call it JUnit 5) instead of JUnit 4(ALL refactor is PASSED on my local machine). I consider it necessary for developers to use a newer test API.
  3. Add a resources directory to help test code reading the specified resource.(It shall be a better implement)
  4. According to the change above, I update the README by deleting the fourth line from the bottom. Developer can import JUnit automatically.

laingke added 3 commits July 19, 2019 14:16
1. Add JUnit Jupiter dependency;
2. Add maven-resources-plugin to fix path problem in SimplexNoise testcase;
3. Add maven-compiler-plugin to tell the default compiler version;
@laingke

laingke commented Aug 27, 2019

Copy link
Copy Markdown
Author

Duplicate of #529.

Diff from #529:
a newer JUnit Jupiter version;
a specified resources path of test file;
a specified encoding.

@yanglbme yanglbme merged commit 3750999 into TheAlgorithms:Development Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants