-
Notifications
You must be signed in to change notification settings - Fork 2
docs: Add test & debugging doc #451
Conversation
…nder 'Local Execution and Debugging'
As discussed, I attempted merged TESTING.MD with the contract test READMEs. Let me know your thoughts on the 'Local Execution and Debugging' sections. I'm still pondering about adding instructions for running contract tests individually and maybe to add a 'Local Execution and Debugging' section to the client README |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I missed this one last week, looks good otherwise
|
||
```sh | ||
curl -v \ | ||
-H "UserAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:10.0) Gecko/20100101 Firefox/91.0'" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or there's also -A
(which I rarely use)
-H "UserAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:10.0) Gecko/20100101 Firefox/91.0'" \ | |
-H "User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:10.0) Gecko/20100101 Firefox/91.0'" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
|
||
To run the contract tests locally, execute the following from the repository root: | ||
|
||
**Build Contile Docker Image** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for documenting this 🙂 now my newbie docker self can stop editing docker-compose and accidentally commit it now 🙃
Add doc describing using contract testing for local debugging.
CONSVC-1974