Skip to content

Commit 0afd174

Browse files
authored
Update readme.md
1 parent 9e9b84e commit 0afd174

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

readme.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ Start by understanding the ubiquitous testing practices that are the foundation
1919

2020
### Written By Yoni Goldberg
2121
* A JavaScript & Node.js consultant
22-
* 👨‍🏫 [My testing workshop](https://www.testjavascript.com) - learn about [my workshops](https://www.testjavascript.com) in Europe & US
22+
* 📗 [Testing Node.js & JavaScript From A To Z](https://www.testjavascript.com) - My comprehensive online course with more than [10 hours of video](https://www.testjavascript.com), 14 test types and more than 40 best practices
2323
* [Follow me on Twitter ](https://twitter.com/goldbergyoni/)
24-
* [My JavaScript Quality newsletter](https://testjavascript.com/newsletter/) - insights and content only on strategic matters
2524

2625
<br/>
2726

@@ -347,6 +346,12 @@ it("When a valid product is about to be deleted, ensure an email is sent", async
347346

348347
<br/><br/>
349348

349+
## 📗 Want to learn all these practices with live video?
350+
351+
### Visit my online course [Testing Node.js & JavaScript From A To Z](https://www.testjavascript.com)
352+
353+
<br/><br/>
354+
350355
## ⚪ ️1.6 Don’t “foo”, use realistic input data
351356

352357
:white_check_mark: **Do:** Often production bugs are revealed under some very specific and surprising input — the more realistic the test input is, the greater the chances are to catch bugs early. Use dedicated libraries like [Faker](https://www.npmjs.com/package/faker) to generate pseudo-real data that resembles the variety and form of production data. For example, such libraries can generate realistic phone numbers, usernames, credit card, company names, and even ‘lorem ipsum’ text. You may also create some tests (on top of unit tests, not as a replacement) that randomize fakers data to stretch your unit under test or even import real data from your production environment. Want to take it to the next level? See the next bullet (property-based testing).
@@ -1811,9 +1816,8 @@ An efficient update policy may allow some ‘vesting period’ — let the c
18111816

18121817
**About:** I'm an independent consultant who works with 500 fortune corporates and garage startups on polishing their JS & Node.js applications. More than any other topic I'm fascinated by and aims to master the art of testing. I'm also the author of [Node.js Best Practices](https://github.com/goldbergyoni/nodebestpractices)
18131818

1814-
<br/>
1819+
**📗 Online Course:** Liked this guide and wish to take your testing skills to the extreme? Consider visiting my comprehensive course [Testing Node.js & JavaScript From A To Z](https://www.testjavascript.com)
18151820

1816-
**Workshop:** 👨‍🏫 Want to learn all these practices and techniques at your offices (Europe & USA)? [Register here for my testing workshop](https://testjavascript.com/)
18171821
<br/>
18181822

18191823
**Follow:**

0 commit comments

Comments
 (0)