Setup testing tools for Phoenix app
Description
We need to configure and set up the BDD (Behavior Driven Development) test environment using White Bread for BDD testing and Hound for browser automation. This setup will allow us to write and run automated acceptance tests that simulate user interactions with our web application.
Subtasks
-
Add White Bread and Hound dependencies to mix.exs -
Configure test environment in config/test.exs -
Set up basic folder structure for features -
Create initial test feature for homepage access -
Configure Chrome driver for browser automation
Acceptance Criteria
-
White Bread and Hound are properly configured in the project:
- Dependencies are added to mix.exs
- Test environment is configured in config/test.exs
- Feature folders structure is set up
-
A basic feature test is implemented and passes:
- Can visit the root URL (localhost:4001)
- Can verify the Phoenix welcome message
- Test runs successfully with
mix white_bread.run
Definition of Done
-
All dependencies are properly installed -
Configuration files are properly set up -
Basic feature test passes -
Team members can successfully run the tests -
Code review is complete -
All acceptance criteria are met
Edited by kerdo