Test Locally And Discard All Changes Once Done
usecase
The aim of this how-to-guide🏁 is to define a workflow for local integration testing.
1. intro notes
- context: written for scenario of publishing markdown documents to zendesk
- rule (variation of phrases):
- do not pollute shared spaces
- do not contaminate remote repos — even your own remote branch
- this can be for both unit/integration testing
- for me, I use mostly for integration
2. steps
- run your tests
- open VSC
- run the command Discard all Changes
- or open SCM sidebar → Right-Click on Changes → Discard all Changes
- start again