Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eddiejaoude/dial-tone-frontend

Boiler plate symfony2 project with best practices
https://github.com/eddiejaoude/dial-tone-frontend

Last synced: 2 months ago
JSON representation

Boiler plate symfony2 project with best practices

Awesome Lists containing this project

README

        

| --------- | master | develop | feature |
| --------- | ------ | ------- | ------- |
| Build | [![Build Status](https://travis-ci.org/TransformCore/dial-tone-frontend.svg?branch=master)](https://travis-ci.org/TransformCore/dial-tone-frontend) | [![Build Status](https://travis-ci.org/TransformCore/dial-tone-frontend.svg?branch=develop)](https://travis-ci.org/TransformCore/dial-tone-frontend) | --- |
| Coverage | [![Code Coverage](https://scrutinizer-ci.com/g/TransformCore/dial-tone-frontend/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/TransformCore/dial-tone-frontend/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/TransformCore/dial-tone-frontend/badges/coverage.png?b=develop)](https://scrutinizer-ci.com/g/TransformCore/dial-tone-frontend/?branch=develop) | --- |
| Analysis | [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/TransformCore/dial-tone-frontend/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/TransformCore/dial-tone-frontend/?branch=master) | [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/TransformCore/dial-tone-frontend/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/TransformCore/dial-tone-frontend/?branch=develop) | --- |
| json deps | [![Dependency Status](https://www.versioneye.com/user/projects/546b164d9508250a0c00014f/badge.svg?style=flat)](https://www.versioneye.com/user/projects/546b164d9508250a0c00014f) | --- | --- |
| lock deps | [![Dependency Status](https://www.versioneye.com/user/projects/546b16539508250a0c000166/badge.svg?style=flat)](https://www.versioneye.com/user/projects/546b16539508250a0c000166) | --- | --- |

# DialTone

Latest deploy (inc. branches) https://dial-tone-frontend.herokuapp.com/en/

**Note: if you get an error, wait a minute & try again (refresh the page), the Application is probably deploying out or has gone to sleep.**

## Table of Contents

* [Contribution guidelines](/CONTRIBUTING.md)
* [Versioning successful builds - Release Candidates](/doc/Versioning.md)

## Run app

1. `make dev.run`

Optionally add a **branch / release tag** `make dev.run branch=build-feature/symfony2-behat-35`

This will run the following:
* Switch to **branch / release** tag if requested
* Install any/all dependencies (composer install)
* Start WebServer

2. Then go to `http://localhost:8000/hello/guest`

## Behat command (use config in test/behat.yml)

Documentation at http://docs.behat.org/en/latest/quick_intro_pt1.html

`bin/behat --config test/behat.yml`

For example, initialise Behat for `Transform\AppBundle`

```
bin/behat --config test/behat.yml --init --suite=transformcore_app
```

Run features from bundle

```
bin/behat --config test/behat.yml --suite=transformcore_app
```

## PHPSpec

To run PHPSpec suite `bin/phpspec run --config test/phpspec.yml`

Results:
```
100% 1
1 specs
1 example (1 passed)
21ms
```

## Run full test suite in parallel

```
bin/robo parallel:run
```

```
[Robo\Task\ParallelExecTask] bin/phpspec run --config test/phpspec.yml
[Robo\Task\ParallelExecTask] bin/behat --config test/behat.yml "@TransformAppBundle"
[Robo\Task\ParallelExecTask] Processes: 1/2 [==============>-------------] 50%
[Robo\Task\ParallelExecTask] Output for bin/phpspec run --config test/phpspec.yml
/ pending: 0% / passed: 100% / failed: 0% / broken: 0% / 1 examples
1 specs
1 example (1 passed)
9ms

[Robo\Task\ParallelExecTask] Processes: 2/2 [============================] 100%
[Robo\Task\ParallelExecTask] Output for bin/behat --config test/behat.yml "@TransformAppBundle"
No scenarios
No steps
0m0.005s

[Robo\Task\ParallelExecTask] 2 processes ended in 0.18 s
```

## Contributions

Please read on [Contribution Guildlines](/doc/ContributionGuildlines.md)