Giter Site home page Giter Site logo

red-panda-ci-symfony's Introduction

red-panda-ci-symfony

This is a symfony 4 app example for red-panda-ci software.

I used the submodule ci-script for this test.

Software required

Instalation

git clone https://github.com/sergioortegagomez/red-panda-ci-symfony

enter to directory red-panda-ci-symfony

cd red-panda-ci-symfony

and copy .env.dist file to .env

cp .env.dist .env

How to up?

Easy!

docker-compose up

OK! but... now? How i see... the web?

Open your browser favorite, chrome/firefox by example, and you write:

http://localhost

Then you can see this!

localhost

Congratulations!! your application is installed correctly!

:) Yeah!! ...and, the test? How i run the test?

First, down the last environment up with Crtl+C

And you write:

bin/test.sh

And you can see this:

Feature: Symfony 4 to explore BDDfire

  Scenario: View Hello World home page # features/bddfire.feature:4
    Given I am on "http://nginx"       # vendor/ruby/2.5.0/gems/bddfire-2.0.8/lib/bddfire/web/web_steps.rb:2
    Then I should see "Hello World"    # vendor/ruby/2.5.0/gems/bddfire-2.0.8/lib/bddfire/web/web_steps.rb:10

  Scenario: Insert 1000 Products             # features/bddfire.feature:8
    Given I am on "http://nginx/insert/1000" # vendor/ruby/2.5.0/gems/bddfire-2.0.8/lib/bddfire/web/web_steps.rb:2
    Then I should see "1000 inserted"        # vendor/ruby/2.5.0/gems/bddfire-2.0.8/lib/bddfire/web/web_steps.rb:10

2 scenarios (2 passed)
4 steps (4 passed)
0m5.466sArchivo modificado
=============================

red-panda-ci-symfony's People

Contributors

sergioortegagomez avatar pedroamador avatar enanibus 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.