-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
98 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,70 @@ | ||
# .gitignore for Grails 1.2 and 1.3 | ||
# Although this should work for most versions of grails, it is | ||
# suggested that you use the "grails integrate-with --git" command | ||
# to generate your .gitignore file. | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
# web application files | ||
/web-app/WEB-INF/classes | ||
# User-specific stuff: | ||
.idea/workspace.xml | ||
.idea/tasks.xml | ||
.idea/dictionaries | ||
.idea/vcs.xml | ||
.idea/jsLibraryMappings.xml | ||
|
||
# default HSQL database files for production mode | ||
/prodDb.* | ||
# Sensitive or high-churn files: | ||
.idea/dataSources.ids | ||
.idea/dataSources.xml | ||
.idea/dataSources.local.xml | ||
.idea/sqlDataSources.xml | ||
.idea/dynamic.xml | ||
.idea/uiDesigner.xml | ||
|
||
# general HSQL database files | ||
*Db.properties | ||
*Db.script | ||
# Gradle: | ||
.idea/gradle.xml | ||
.idea/libraries | ||
|
||
# logs | ||
/stacktrace.log | ||
/test/reports | ||
/logs | ||
# Mongo Explorer plugin: | ||
.idea/mongoSettings.xml | ||
|
||
# project release file | ||
/*.war | ||
## File-based project format: | ||
*.iws | ||
|
||
# plugin release files | ||
/*.zip | ||
/plugin.xml | ||
## Plugin-specific files: | ||
|
||
# older plugin install locations | ||
/plugins | ||
/web-app/plugins | ||
# IntelliJ | ||
/out/ | ||
|
||
# "temporary" build files | ||
/target | ||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
|
||
# SVE user-especific configuration files | ||
.slcache/ | ||
.idea/ | ||
|
||
target/ | ||
test/unit/ | ||
test/integration/ | ||
grails-app/conf/hibernate/ | ||
grails-app/migrations/ | ||
grails-app/services/ | ||
grails-app/taglib/ | ||
grails-app/utils/ | ||
web-app/META-INF/ | ||
web-app/css/ | ||
web-app/images/ | ||
web-app/js/ | ||
.DS_Store | ||
.asscache | ||
|
||
.classpath | ||
.project | ||
ResiduosQuimicos-grailsPlugins.iml | ||
ResiduosQuimicos.iml | ||
grailsw | ||
grailsw.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,36 @@ | ||
# atec | ||
# atec | ||
|
||
grails version: 2.4.3 | ||
|
||
JDK 1.7.0_65 SDK 7 (1.8 Não funciona) | ||
|
||
Faça o download do chromedriver compatível com sua máquina e coloque ele na pasta chromedrivers. | ||
|
||
Em GebConfig.groovy setar caminho do chromeDriver no File | ||
|
||
Mark as Test Source todas as subpastas imediatas de test (não as subpastas das subpastas) | ||
|
||
Run configurations: | ||
|
||
Grails: ResiduosQuimicos | ||
|
||
P/ rodar run-app | ||
|
||
Cucumber: ResiduosQuimicos | ||
|
||
(IntelliJ) Para rodar os testes, crie uma configuração do grails com a seguinte linha de comando: | ||
|
||
P/ testar test-app -Dgeb.env=chrome functional:cucumber | ||
|
||
------------------------------------------------------------------------------------------------------------------- | ||
|
||
Integração com o Travis-ci <br /> | ||
Entre em [Travis-CI](https://travis-ci.org/) <br /> | ||
Selecione o botão no canto superior direito "Sign in with github" <br /> | ||
Clique em seu nome no canto superior direito <br /> | ||
Pressione o botão cinza "Sync" caso seus repositórios não estejam aparecendo <br /> | ||
Caso os repositórios não aparecam, dê log out e entre novamente <br /> | ||
Escolha o repositório que deseja testar, no caso o TA, e clique no botão cinza para que ele se torne verde <br /> | ||
Faça um commit qualquer para ativar a build do travis <br /> | ||
Caso você queira ver mais do stacktrace utilize "--verbose" logo após o comando "--stacktrace" no arquivo .travis.yml do seu repositório <br /> | ||
Para receber emails sobre se a build passou ou não, ative seu email no perfil do github <br /> |