diff --git a/.gitignore b/.gitignore index 9185f14..d301454 100644 --- a/.gitignore +++ b/.gitignore @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 0d13633..97c4f37 100644 --- a/README.md +++ b/README.md @@ -1 +1,36 @@ -# atec \ No newline at end of file +# 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
+Entre em [Travis-CI](https://travis-ci.org/)
+Selecione o botão no canto superior direito "Sign in with github"
+Clique em seu nome no canto superior direito
+Pressione o botão cinza "Sync" caso seus repositórios não estejam aparecendo
+Caso os repositórios não aparecam, dê log out e entre novamente
+Escolha o repositório que deseja testar, no caso o TA, e clique no botão cinza para que ele se torne verde
+Faça um commit qualquer para ativar a build do travis
+Caso você queira ver mais do stacktrace utilize "--verbose" logo após o comando "--stacktrace" no arquivo .travis.yml do seu repositório
+Para receber emails sobre se a build passou ou não, ative seu email no perfil do github
\ No newline at end of file