0.14.7 • Published 6 months ago

webino-devkit v0.14.7

Weekly downloads
3
License
-
Repository
github
Last release
6 months ago

Webino Development Kit

Build Status

Application and module development toolkit for Webino developers.

Quick Install

wget https://get.webino.org/devkit -qO- | sh

Requirements

NOTE: Consider to use a nvm e.g. nvm install 0.10 to install Node.js.

Features

  • Package initialization & updating
  • Live front-end development support
  • Source code analysis
  • API generation
  • Testing environment configuration
  • Unit & acceptance testing
  • Acceptance testing video recording
  • Firefox browser testing by default

NOTE: User acceptance testing automation is powered by Firefox browser out of the box. Using Chrome or other browsers requires setting driver system variable, which is not currently implemented.

Installation

sudo npm install webino-devkit -g --unsafe-perm

NOTE: We use the --unsafe-perm flag allowing post-install of required PHP libraries via composer.

Usage

Run webino from the command line.

Module development

Go to a Webino module directory and run one of the following commands.

Updating clone

  • webino update

Environment configuration

  • webino configure

Open test site in a web browser

  • webino show

Live development (browser-sync & watch)

  • webino dev

Testing

Unit testing

Unit tests with violations check

  • webino test

using filter

  • webino test --filter testMyExample

Acceptance testing

Selenium

  • webino selenium

using filter

  • webino selenium --filter testMyExample

with options

  • webino selenium:<browser> -uri http://localhost:8080/

with application reconfiguration

  • webino uat:<browser> -uri http://localhost:8080/

using environment variables instead

  • BROWSER=<browser> URI=http://localhost:8080/ webino uat

NOTE: Replace the <browser> with any supported Selenium browser: htmlunit, firefox, chrome, ... NOTE: Location of the testing site could be any than http://localhost:8080/.

disable tests video recording

  • R=0 webino uat

run tests on foreground (without Xvfb) and disable video recording

  • X=0 webino uat

Analysis

Analyze package source, generate logs, todos etc.

  • webino analyze

Documentation generator

API

Generate API doc

  • webino api

Open API in a web browser

  • webino show-api

Package distribution

Publish new module to the GitHub repository

  • webino publish

NOTE: It initializes local Git with GitFlow and then pushes to the newly created GitHub repository.

TODO

  • Upgrade to PHP 7
  • Upgrade to Selenium 3
  • Add webino-generator module
  • Get rid of install with unsafe-perm

More information

Read more on How to develop Webino modules

Addendum

Please, if you are interested in this development kit report any issues and don't hesitate to contribute.

Report a bug | Fork me

0.14.7

6 months ago

0.14.6

2 years ago

0.14.5

2 years ago

0.14.4

3 years ago

0.14.3

3 years ago

0.14.2

6 years ago

0.14.1

6 years ago

0.14.0

6 years ago

0.13.1

6 years ago

0.13.0

6 years ago

0.12.1

6 years ago

0.12.0

6 years ago

0.11.0

6 years ago

0.10.1

7 years ago

0.10.0

7 years ago

0.9.13

7 years ago

0.9.12

7 years ago

0.9.11

7 years ago

0.9.10

7 years ago

0.9.9

7 years ago

0.9.8

7 years ago

0.9.7

7 years ago

0.9.6

7 years ago

0.9.5

7 years ago

0.9.4

7 years ago

0.9.3

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.8.2

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.5

7 years ago

0.7.4

7 years ago

0.7.3

7 years ago

0.7.2

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago

0.6.0

8 years ago

0.5.8

9 years ago

0.5.7

9 years ago

0.5.6

9 years ago

0.5.5

9 years ago

0.5.4

9 years ago

0.5.3

9 years ago

0.5.2

9 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.4.5

9 years ago

0.4.3

9 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.10

9 years ago

0.2.9

9 years ago

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago