GithubHelp home page GithubHelp logo

konnorrogers / bridgetown-automation-cypress Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 43 KB

An automation for adding Cypress to Bridgetown

Home Page: https://bridgetownrb.com

License: MIT License

Dockerfile 11.66% Ruby 58.17% JavaScript 30.16%
bridgetown cypress bridgetown-automation bridgetown-plugin

bridgetown-automation-cypress's Introduction

build

Prerequisites

  • Ruby >= 2.5
  • Bridgetown ~> 0.15.0
bridgetown -v
# => bridgetown 0.15.0 "Overlook"

This project requires the new apply command introduced in Bridgetown 0.15.0

Usage

New project

bridgetown new <newsite> --apply="https://github.com/ParamagicDev/bridgetown-automation-cypress"

Existing Project

bridgetown apply https://github.com/ParamagicDev/bridgetown-automation-cypress

Adding tests to a Bridgetown project

Tests are located in the cypress/integration file. Check out Cypress for further documentation on adding Cypress tests.

Reference Repository

A new project which applies this automation will look like the following repository:

https://github.com/ParamagicDev/bridgetown-example-cypress

Testing the "apply" command

Right now there is one big integration test which simply checks that the files were created for Cypress in a new bridgetown project.

In order for the tests to pass, you must first push the branch you're working on and then wait for Github to update the raw file so the remote automation test will pass

git clone https://github.com/ParamagicDev/bridgetown-automation-cypress/
cd bridgetown-automation-cypress
bundle install
bundle exec rake test

Testing with Docker

git clone https://github.com/ParamagicDev/bridgetown-automation-cypress
cd bridgetown-automation-cypress
source docker.env && docker-compose up --build

bridgetown-automation-cypress's People

Contributors

jaredcwhite avatar konnorrogers avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

jaredcwhite

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.