- Build your UI elements (Storybook) or adjustments based on any mocks in your card.
- Integrate elements into the application, making it a dynamic component.
- Create tests and run localized testing on all files you've touched yarn test:all
--watch ~/path/to/file --coverage
false - Turn coverage on and address missing lines in your tests
yarn test:all --watch ~/path/to/file --coverage
. You might need to add--updateSnapshot
to your local tests if you've modified the outputted component and receive snapshot errors.
Alternate back and forth between addressing coverage and fixing tests until all local tests pass.5. Once everything passes locally and coverage is high, run a unit test on the entire project
yarn go
> Run Tests
> Run Unit Tests
> Run all Tests
- Watch = No
- Update Snapshots = No
- If the full project tests pass, you're ready to run linting
yarn go
> Run Code Linting
Do this before final commits as this will update allot of code styling and annoying things like alphabetic imports.
- Commit your final changes onto your branch.
- Push your branch with git push.
Navigate to Azure DevOps > Repos > Branches
- Select your branch, open a "Pull Request", label with the title of your card and link work items, then publish.
- Once the build has succeeded, post a link to your PR on Phoenix Engineering asking for "dev approval".
- Notify your assigned team QA that your project is ready for testing.