Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mbashia/testing-in-elixir-phoenix
- Owner: mbashia
- Created: 2024-07-29T07:55:25.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-09-19T06:16:02.000Z (5 months ago)
- Last Synced: 2024-11-21T16:14:04.878Z (3 months ago)
- Topics: elixir, intergration-test, liveview, unit-testing
- Language: Elixir
- Homepage:
- Size: 124 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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_formMake 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.