Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. ## This is a rough project flow we use when taking on new tasks;
  2.  
  3. 1. Build your UI elements (Storybook) or adjustments based on any mocks in your card.
  4. 2. Integrate elements into the application, making it a dynamic component.
  5. 3. Create tests and run localized testing on all files you've touched yarn test:all `--watch ~/path/to/file --coverage` false
  6. 4. 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.
  7.  
  8. > 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
  9.  
  10. ```
  11. yarn go
  12. > Run Tests
  13. > Run Unit Tests
  14. > Run all Tests
  15. - Watch = No
  16. - Update Snapshots = No
  17. ```
  18.  
  19. 6. If the full project tests pass, you're ready to run linting
  20.  
  21. ```
  22. yarn go
  23. > Run Code Linting
  24. ```
  25.  
  26. > Do this before final commits as this will update allot of code styling and annoying things like alphabetic imports.
  27.  
  28. 7. Commit your final changes onto your branch.
  29. 8. Push your branch with git push.
  30.  
  31. > Navigate to Azure DevOps > Repos > Branches
  32.  
  33. 9. Select your branch, open a "Pull Request", label with the title of your card and link work items, then publish.
  34. 10. Once the build has succeeded, post a link to your PR on Phoenix Engineering asking for "dev approval".
  35. 11. Notify your assigned team QA that your project is ready for testing.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement