Giter VIP home page Giter VIP logo

liveview_test's Introduction

Welcome to Social l ๐ŸŽ‰

Social is a twitter(ish) clone to learn to test LiveView app

Getting set up

  • Install Elixir, Erlang, and Node versions defined in .tool-versions
  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with npm install inside the assets directory
  • Run mix test to make sure all tests pass.
  • Run test in watch mode mix test.watch
  • Start Phoenix endpoint with mix phx.server

Now you can visit Social at localhost:4000.

Todos

  • Comments features and unit tests

The following features are covered

  • 1-testing-rendering
  • 2-scoping-assertions
  • 3-rendering-component-list
  • 4-testing-live-components
  • 5-testing-live-components-part-2
  • 6-testing-page-interactions
  • 7-testing-live-patch
  • 8-testing-live-navigation
  • 9-testing-form-submission
  • 10-test-change-validation
  • 11-testing-event-driven-UIs
  • 12-testing-displaying-new-posts
  • 13-testing-liking-posts
  • 14-testing-stateful-components
  • 15-testing-broadcasting-likes
  • 16-testing-javascript-hooks-server-side-only
  • 17-complex-assertions-with-floki
  • 18-testing-uploads
  • 19-testing-uploads-direct-to-server
  • 20-testing-uploads-direct-to-cloud

Happy testing! ๐Ÿฅณ

Resources

liveview_test's People

Stargazers

Rijul Raut avatar

Watchers

Rajesh Pillai 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.