Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mbashia/testing-in-elixir-phoenix

testing in elixir and LiveView
https://github.com/mbashia/testing-in-elixir-phoenix

elixir intergration-test liveview unit-testing

Last synced: 19 days ago
JSON representation

testing in elixir and LiveView

Awesome Lists containing this project

README

        

# Contact Form Testing Example

## Getting Started

To follow along with this guide, you'll need to set up the project locally. Here are the steps:

1. **Clone the Repository:**

```bash
git clone https://github.com/mbashia/Testing-in-elixir-phoenix.git
cd contact_form

Make sure you have Elixir and Phoenix installed. Then, run:

```
Install Dependencies:
mix deps.get
Create and Migrate the Database:

Set up your database configuration in config/dev.exs, then run:

mix ecto.create
mix ecto.migrate
Run the Tests:

To verify that everything is working correctly, run:

mix test
Start the Phoenix Server:

If you want to see the application in action, start the server with:

mix phx.server
You can then navigate to http://localhost:4000 in your browser to view the application.