-
Notifications
You must be signed in to change notification settings - Fork 55
docs(screener-io): added documentation on how to write tests with steps #856
Conversation
Codecov Report
@@ Coverage Diff @@
## master #856 +/- ##
=======================================
Coverage 93.54% 93.54%
=======================================
Files 21 21
Lines 728 728
Branches 69 73 +4
=======================================
Hits 681 681
Misses 47 47 Continue to review full report at Codecov.
|
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.
GG 👍 thanks @silviuavram
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.
LGTM 👍
|
||
### Run Screener tests | ||
In order to run the tests locally, make sure to have a Screener API key saved in the environment variables on your machine. For instance, on MacOS/Linux you can use `export SCREENER_API_KEY=<Your screener key here>`. |
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.
And what is for Windows? 🔍
This should work:
cross-env SCREENER_API_KEY=<Your screener key here> yarn test:visual
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.
oups. will address this in my arrow navigation PR :)
Added documentation on how to write tests with the Screener Steps.
At the moment I added a draft change, and I think I can have some feedback while I also look to improve it.