All Projects → luckyframework → lucky_flow

luckyframework / lucky_flow

Licence: MIT license
Automated browser tests for web applications. Similar to Ruby's Capybara.

Programming Languages

crystal
512 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to lucky flow

autofill
Bookmarklet to fill out forms when testing by simply clicking on it.
Stars: ✭ 54 (+8%)
Mutual labels:  testing-tools
php.autotest
autotest for php written in php
Stars: ✭ 19 (-62%)
Mutual labels:  testing-tools
client-java
Asynchronous client for Java-based agents
Stars: ✭ 17 (-66%)
Mutual labels:  testing-tools
jest-gql
✅🚀GraphQL based tests for Jest and Apollo
Stars: ✭ 33 (-34%)
Mutual labels:  testing-tools
tressa
Little test utility
Stars: ✭ 18 (-64%)
Mutual labels:  testing-tools
CodeBaseManager
Multi-langage CLI tool to manage your code base
Stars: ✭ 11 (-78%)
Mutual labels:  testing-tools
main
Mocks Server monorepo
Stars: ✭ 109 (+118%)
Mutual labels:  testing-tools
bookish spork
Erlang library for testing http requests
Stars: ✭ 82 (+64%)
Mutual labels:  testing-tools
toradocu
Toradocu - automated generation of test oracles from Javadoc documentation
Stars: ✭ 39 (-22%)
Mutual labels:  testing-tools
Orion-Stress-Tester
A simple, efficient and accurate stress tester, support HTTP, WebSocket and TCP
Stars: ✭ 32 (-36%)
Mutual labels:  testing-tools
merlin
Testing and Benchmarking framework for deno 🧙‍♂️
Stars: ✭ 46 (-8%)
Mutual labels:  testing-tools
mockcpp
Two C/C++ testing tools, mockcpp and testngpp.
Stars: ✭ 40 (-20%)
Mutual labels:  testing-tools
effcee
Effcee is a C++ library for stateful pattern matching of strings, inspired by LLVM's FileCheck
Stars: ✭ 76 (+52%)
Mutual labels:  testing-tools
karate
Test Automation Made Simple
Stars: ✭ 6,384 (+12668%)
Mutual labels:  testing-tools
vPAV
viadee Process Application Validator
Stars: ✭ 47 (-6%)
Mutual labels:  testing-tools
scalatest-junit-runner
JUnit 5 runner for Scalatest
Stars: ✭ 30 (-40%)
Mutual labels:  testing-tools
laika
Log, test, intercept and modify Apollo Client's operations
Stars: ✭ 99 (+98%)
Mutual labels:  testing-tools
heel-gun
Test HTTP servers for robustness to arbitrary requests
Stars: ✭ 17 (-66%)
Mutual labels:  testing-tools
go-test-report
Captures go test output and parses it into a single self-contained HTML file.
Stars: ✭ 68 (+36%)
Mutual labels:  testing-tools
test-real-styles
(test-)framework agnostic utilities to test real styling of (virtual) dom elements
Stars: ✭ 37 (-26%)
Mutual labels:  testing-tools

LuckyFlow

API Documentation Website

LuckyFlow is a library for testing user flows in the browser. It is similar to Ruby's Capybara.

LuckyFlow example

Installation in Lucky projects

LuckyFlow is already installed and configured. Check out the guides to see how to use it: https://luckyframework.org/guides/browser-tests/

Installation in other Crystal projects

Add this to your application's shard.yml:

development_dependencies:
  lucky_flow:
    github: luckyframework/lucky_flow

Configure LuckyFlow in spec/spec_helper.cr:

require "lucky_flow"

LuckyFlow.configure do |settings|
  # This is required
  settings.base_uri = "http://localhost:<port>"

  # Optional settings. Defaults are shown here
  settings.retry_delay = 10.milliseconds
  settings.stop_retrying_after = 1.second
  settings.screenshot_directory = "./tmp/screenshots"
  settings.browser_binary = "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser"
end

# Put this at the bottom of the file.
# If a required setting is missing, this will catch it.
Habitat.raise_if_missing_settings!

Then view the guides: https://luckyframework.org/guides/browser-tests/

You should be ready to go!

Usage

Note that you can only pass string paths to visit since only Lucky has route helpers described in the guide below. Example: visit "/my-path"

View guide at: https://luckyframework.org/guides/browser-tests/

Contributing

  1. Fork it ( https://github.com/luckyframework/lucky_flow/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Install docker and docker-compose: https://docs.docker.com/compose/install/
  4. Run script/setup
  5. Make your changes
  6. Run script/test to run the specs, build shards, and check formatting
  7. Commit your changes (git commit -am 'Add some feature')
  8. Push to the branch (git push origin my-new-feature)
  9. Create a new Pull Request

Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].