Giter Club home page Giter Club logo

java_junit5's Introduction

TDDBC for Java with JUnit5

これは、TDDBCのJava向けJUnitプロジェクトです。

gradleを使う場合

gradleのインストール(wrapperを使わない場合)

# Mac
$ brew install gradle
または、
$ sdk install gradle

# Unix
$ sdk install gradle

sdkについては、以下のURLを参考にしてインストールしてください

http://sdkman.io/

Windows

以下のURLを参考にしてインストールしてください。

http://gradle.monochromeroad.com/docs/userguide/installation.html

gradle wrapperの準備

gradleをインストールしない場合は、このプロジェクトをcloneしてから以下のコマンドを実行してください。

# Mac, Unix
$ chmod +x gradlew
$ ./gradlew -v

# Windows
$ gradlew.bat -v

wrapperを利用する際は、以下のgradleコマンドを ./gradlew または gradlew.bat に置き換えて利用してください。

プロジェクトの変換

# for. IntelliJ IDEA
$ gradle idea

# for. Eclipse
$ gradle eclipse

テストの実行

$ gradle junitPlatformTest

gradleによるJava Projectの作成(gradle 1.9以降)

gradleがインストールされている環境では、以下のコマンドを実行することで、Javaのプロジェクトを作成することが出来ます。

$ mkdir tddbc-java
$ cd tddbc-java
$ gradle init --type java-library

mavenを使う場合

インストール

# Mac
brew install maven

Windows, Unix

以下のURLを参考にしてインストールしてください。

http://maven.apache.org/download.cgi#Installation

プロジェクトの変換

# for. IntelliJ IDEA
mvn idea:idea

# for. Eclipse
mvn eclipse:eclipse
mvn eclipse:configure-workspace -Declipse.workspace=/path/to/eclipse/workspace

テストの実行

mvn test

その他

動作環境、IDE等についてはWikiを参照してください。

ライセンス

Apache License, Version 2.0です (詳しくはプロジェクト直下の LICENSE-2.0.txt をご覧ください)

java_junit5's People

Contributors

grimrose avatar sue445 avatar poohsunny avatar pocketberserker avatar twada avatar irof avatar azusa avatar

Watchers

James Cloos avatar Hironobu Tsuji avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.