GithubHelp home page GithubHelp logo

eis_atdd_spread_sheet's Introduction

Build Status

Proyecto base con Cucumber

Este proyecto cuenta con el sistema de dependencias en gradle y maven para poder contar con un ambiente en el cual se pueda ejecutar el ciclo de ATDD.

IMPORTANTE: Evite clonar el proyecto!!!

Descargar el proyecto:

  1. Hacer un fork de este proyecto.
  2. Clonar el repositorio cloneado.
  3. Configurar un remoto nuevo llamado upstream utilizando el comando git remote add upstream [email protected]:UNVQUI/bdd_spread_sheet.git.

Como configuro el proyecto utilando IntelliJ como IDE

Instalar el gestor de dependencias (gradle o maven).

Verificando herramientas:

Estas verificaciones deberán realizarse desde la carpeta del proyecto.

Gradle

Deberían poder ejecutar el comando ./gradlew cucumber obteniendo una salida similar a la siguiente:

Starting a Gradle Daemon (subsequent builds will be faster)

> Task :cucumber
Feature: Gradle-Cucumber integration

  Scenario: Just a failing scenario # src/test/resources/gradle/cucumber/gradle.feature:3
    When I run a failing step       # BasicStepdefs.I_run_a_failing_step()

Feature: Sell Content

  Scenario: Set ACell content with number # src/test/resources/gradle/cucumber/spreadsheet.feature:3
    Given Empty spreadsheet              # SpreadsheetStepdefs.iEmptySpreadSheet()
    When I set "a1" content with "1"     # SpreadsheetStepdefs.iSetContentWith(String,String)
    Then The ACell "a1" has value "1"     # SpreadsheetStepdefs.iGetContent(String,String)

  Scenario: Set ACell content with label        # src/test/resources/gradle/cucumber/spreadsheet.feature:8
    Given Empty spreadsheet                    # SpreadsheetStepdefs.iEmptySpreadSheet()
    When I set "a2" content with label "label" # SpreadsheetStepdefs.iSetContentWithLabel(String,String)
    Then The ACell "a2" has value label "label" # SpreadsheetStepdefs.the_cell_has_value_label(String,String)

3 Scenarios (3 passed)
7 Steps (7 passed)
0m0.201s

Lo que deberíamos ver en IntelliJ

cucumber_output.png

Maven

Deberían poder ejecutar el comando mvn test obteniendo una salida similar a la siguiente:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running gradle.cucumber.RunCukesTest
Feature: Gradle-Cucumber integration

  Scenario: Just a failing scenario # gradle/cucumber/gradle.feature:3
    When I run a failing step       # BasicStepdefs.I_run_a_failing_step()

Feature: Sell Content

  Scenario: Set ACell content with number # gradle/cucumber/spreadsheet.feature:3
    Given Empty spreadsheet              # SpreadsheetStepdefs.iEmptySpreadSheet()
    When I set "a1" content with "1"     # SpreadsheetStepdefs.iSetContentWith(String,String)
    Then The ACell "a1" has value "1"     # SpreadsheetStepdefs.iGetContent(String,String)

  Scenario: Set ACell content with label        # gradle/cucumber/spreadsheet.feature:8
    Given Empty spreadsheet                    # SpreadsheetStepdefs.iEmptySpreadSheet()
    When I set "a2" content with label "label" # SpreadsheetStepdefs.iSetContentWithLabel(String,String)
    Then The ACell "a2" has value label "label" # SpreadsheetStepdefs.the_cell_has_value_label(String,String)

3 Scenarios (3 passed)
7 Steps (7 passed)
0m0.247s

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.765 sec

Results :

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0

Integración con IDE (IntelliJ)

Instalar los plugins (según sistema de dependencias elegido) según muestran las capturas.

Gradle

gradle_plugin_ide

Maven

maven_plugin_ide.png

eis_atdd_spread_sheet's People

Contributors

diegosanchez avatar

Stargazers

Roman avatar

Watchers

James Cloos 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.