프로젝트
GitHub에서 보기
matyb/java-koans
소개
Java 문법과 관용적인 코딩 방식을 논리적인 순서로 학습할 수 있는 프레임워크와 레슨입니다.
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalJava Koans
Running Instructions:
- Download and unarchive the contents of the most recent java-koans in development from: https://github.com/matyb/java-koans/archive/master.zip
- Open a terminal and cd to the directory you unarchived:
cd <the directory you just unarchived>
- Within it you'll find:
- koans: this directory contains the application and its lessons, it is all that is needed to advance through the koans themselves and it can be distributed independently
- lib: this directory contains the code the koans engine is comprised of and built with
- gradle: wrapper for build library used to build koans source, setup project files in eclipse/idea, run tests, etc. you probably don't need to touch anything in here
- Change directory to the koans directory:
cd koans - If you are using windows enter:
run.bator./run.shif you are using Mac or Linux
Developing a Koan:
- Follow any of the existing koans as an example to create a new class with koan methods (indicated by the @Koan annotation, they're public and specify no arguments)
- Define the order the koan suite (if it's new) will run in the koans/app/config/PathToEnlightenment.xml file
- Override the lesson text when it fails (default is expected 'X' found 'Y')
- Optionally you may use dynamic content in your lesson, examples are located in the XmlVariableInjector class (and Test) and the AboutKoans.java file
Something's wrong:
- If the koans app is constantly timing out compiling a koan, your computer may be too slow to compile the koan classes with the default timeout value. Update the compile_timeout_in_ms property in koans/app/config/config.properties with a larger value and try again.
관련 프로젝트 살펴보기
불러오는 중…
