-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
V1
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Sat Nov 30 09:51:30 CET 2019 | ||
gradle.version=5.2.1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
language: java | ||
|
||
install: gradle wrapper --gradle-version 5.2.1 | ||
|
||
jdk: | ||
- oraclejdk11 | ||
|
||
if: (type = push AND branch IN (master, Develop, ChatRoom, Develop_user, dev_bot)) OR (type = pull_request AND NOT branch =~ /no-ci/) | ||
|
||
branches: | ||
only: | ||
- Develop | ||
- develop | ||
- master | ||
- /^feature.*$/ | ||
|
||
after_success: | ||
- ./gradlew jacocoTestReport coveralls |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#Change log | ||
|
||
**Merged pull requests:** | ||
|
||
- User Class : https://github.com/ZenoxTek/HQSE_3/pull/9 | ||
- Bot Class : https://github.com/ZenoxTek/HQSE_3/pull/11 | ||
- Chat room : https://github.com/ZenoxTek/HQSE_3/pull/12 | ||
- Init travis https://github.com/ZenoxTek/HQSE_3/pull/13 | ||
- Chat room logic : https://github.com/ZenoxTek/HQSE_3/pull/14 | ||
- Parser : https://github.com/ZenoxTek/HQSE_3/pull/16 | ||
|
||
**Closed issues:** | ||
- IDEA configuration file : https://github.com/ZenoxTek/HQSE_3/issues/1 | ||
- Gradle configuration file https://github.com/ZenoxTek/HQSE_3/issues/2 | ||
- Develop branch : https://github.com/ZenoxTek/HQSE_3/issues/3 | ||
- Change commit msg : https://github.com/ZenoxTek/HQSE_3/issues/4 | ||
- Build status badge : https://github.com/ZenoxTek/HQSE_3/issues/6 | ||
- Handling issues : https://github.com/ZenoxTek/HQSE_3/issues/7 | ||
- Assign and tag issues : https://github.com/ZenoxTek/HQSE_3/issues/8 | ||
- Author name readme : https://github.com/ZenoxTek/HQSE_3/issues/10 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,62 @@ | ||
# HQSE_3 | ||
[![Build Status](https://travis-ci.com/ZenoxTek/HQSE_3.svg?branch=Develop)](https://travis-ci.com/ZenoxTek/HQSE_3) | ||
|
||
**[ETAPE 1]** | ||
|
||
L’objectif de cette étape sera d’implémenter une session de chat | ||
ou on pourra préciser quel pseudo nous souhaitons utiliser, ainsi qu’un chatbot basique qui ne fera que répondre bonjour ainsi que la date et l’heure lorsqu’on le mentionne, comme sur l’exemple suivant. | ||
|
||
|
||
``` | ||
shell$ java -jar chatbot.jar -p toto | ||
[toto] @hello | ||
[hello] Salut toto! Nous sommes Jeudi 25 octobre et il est 14h30. | ||
[toto] foo | ||
[toto] ++ | ||
shell$ | ||
``` | ||
|
||
|
||
|
||
Il vous faudra donc : | ||
|
||
|
||
|
||
* Récupérer la valeur de l’argument “-p”. | ||
|
||
|
||
|
||
|
||
* Lancer une session de chat ou l’application attendra que l'utilisateur saisisse son message, on | ||
considère que l’utilisateur a terminé lorsqu’il appuiera sur la touche “Entrer” (astuce: regarder du côté de System.in) | ||
|
||
|
||
|
||
|
||
* En cas d’un message égal à @hello, le chatbot répond comme sur l’exemple ci-dessus, en cas d’autre | ||
message, le chatbot ne répond pas. | ||
|
||
|
||
|
||
|
||
* Pour quitter la session (et donc terminer l'exécution de l’application), l’utilisateur devra saisir | ||
le message “++”. | ||
|
||
|
||
**[ETAPE 2]** | ||
|
||
Module Epitech CleanCodeTP jour 3 | ||
|
||
**CREDITS** | ||
|
||
Developpers : | ||
|
||
Elodie BERTHAUD | ||
Remi DE LIMA | ||
Benjamin DUHIEU |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
plugins { | ||
id 'application' | ||
id 'jacoco' | ||
id 'com.github.kt3k.coveralls' version '2.8.4' | ||
} | ||
|
||
run { | ||
standardInput = System.in | ||
} | ||
|
||
jacocoTestReport { | ||
reports { | ||
xml.enabled = true // coveralls plugin depends on xml format report | ||
html.enabled = true | ||
} | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes 'Main-Class': 'Main' | ||
} | ||
} | ||
|
||
group 'org.example' | ||
version '1.0' | ||
|
||
mainClassName = 'Main' | ||
archivesBaseName = 'chatbot' | ||
|
||
sourceCompatibility = 1.8 | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
testCompile group: 'junit', name: 'junit', version: '4.12' | ||
testCompile "org.mockito:mockito-core:1.+" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Sat Nov 30 09:54:07 CET 2019 | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME |