Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jessgusclark/java-testing
A test repository to learn java testing in eclipse.
https://github.com/jessgusclark/java-testing
Last synced: 9 days ago
JSON representation
A test repository to learn java testing in eclipse.
- Host: GitHub
- URL: https://github.com/jessgusclark/java-testing
- Owner: jessgusclark
- Created: 2016-08-24T15:28:52.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-08T20:20:10.000Z (about 8 years ago)
- Last Synced: 2024-10-11T05:49:17.536Z (about 1 month ago)
- Language: Java
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Readme
A test repository for learning java, JUnit and design patterns within Eclipse.
## Resources
* http://www.vogella.com/tutorials/JUnit/article.html## Testing from the command line on CSU machines
This worked for cs414.a1.
### Add JUnit and Testing to the CLASSPATH:
Java classes are located here: `/usr/share/java/`
```
$ export CLASSPATH="$CLASSPATH:/usr/share/java/junit.jar"
```### Compile files
```
$ javac -d ./build *.java
```### Test fils
```
$ cd build
$ java -cp /usr/share/java/junit.jar:/usr/share/java/hamcrest/core.jar:. org.junit.runner.JUnitCore cs414.a1.gusclark.TestAll
```References:
* http://stackoverflow.com/questions/9941296/how-do-i-make-a-jar-from-a-java