diff --git a/content/authors/archtechx.md b/content/authors/archtechx.md new file mode 100644 index 0000000..c6326c7 --- /dev/null +++ b/content/authors/archtechx.md @@ -0,0 +1,5 @@ +--- +username: archtechx +name: 'ARCHTECH' +avatar: 'https://pbs.twimg.com/profile_images/1393303364390227974/uaP8Hoq1_normal.jpg' +--- diff --git a/content/threads/pest-tips.md b/content/threads/pest-tips.md new file mode 100644 index 0000000..bd55ee7 --- /dev/null +++ b/content/threads/pest-tips.md @@ -0,0 +1,7 @@ +--- +slug: pest-tips +title: 'Pest Tips' +tweet_id: 1427310302656438274 +author_username: archtechx +created_at: 2021-08-16T19:09:23+02:00 +--- diff --git a/content/tips/create-a-using-helper.md b/content/tips/create-a-using-helper.md new file mode 100644 index 0000000..fb9de58 --- /dev/null +++ b/content/tips/create-a-using-helper.md @@ -0,0 +1,11 @@ +--- +title: 'Create a using() helper' +tweet_id: 1426219050250772482 +thread_slug: pest-tips +author_username: archtechx +images: + - https://pbs.twimg.com/media/E8ryqTuWEAQT-1H.jpg +created_at: 2021-08-16T19:09:24+02:00 +slug: create-a-using-helper +--- +Create a using() helper to get perfect IDE support on $this calls inside your tests. diff --git a/content/tips/create-helper-functions-for-creating-models-in-tests-using-factories.md b/content/tips/create-helper-functions-for-creating-models-in-tests-using-factories.md new file mode 100644 index 0000000..812e63a --- /dev/null +++ b/content/tips/create-helper-functions-for-creating-models-in-tests-using-factories.md @@ -0,0 +1,14 @@ +--- +title: 'Create helper functions for creating models in tests using factories' +tweet_id: 1425833852480626694 +thread_slug: pest-tips +author_username: archtechx +images: + - https://pbs.twimg.com/media/E8mO3a5VEAAsjr1.jpg + +created_at: 2021-08-16T19:09:22+02:00 +slug: create-helper-functions-for-creating-models-in-tests-using-factories +--- +For example: +- invoice() to create an Invoice model +- product() to create a Product model diff --git a/content/tips/use-please-instead-of-using-using.md b/content/tips/use-please-instead-of-using-using.md new file mode 100644 index 0000000..9679628 --- /dev/null +++ b/content/tips/use-please-instead-of-using-using.md @@ -0,0 +1,11 @@ +--- +title: 'Use please() instead of using using()' +tweet_id: 1426235640509865986 +thread_slug: pest-tips +author_username: archtechx +images: + - https://pbs.twimg.com/media/E8sBPPaXoAYJ9s6.png +created_at: 2021-08-16T19:09:26+02:00 +slug: use-please-instead-of-using-using +--- +Even nicer than using().