Companies Home Search Profile

Easy Test Driven Development with TypeScript and Vitest

Focused View

Ashley Frieze

6:11:12

104 View
  • 1.1 Why are you here .pdf
  • 1. Introduction - Why are we here.mp4
    05:22
  • 2. Skip to the Fun Part - a first example.mp4
    06:52
  • 3. First example recap.mp4
    06:22
  • 4. Back up a minute Setting up an Environment.mp4
    08:44
  • 5. Leap year example, checklists and specs.mp4
    06:36
  • 6. Exercise finish the leap year algorithm.mp4
    02:24
  • 7. Solution finish the leap year algorithm.mp4
    05:41
  • 8.1 Deriving TDD Principles Learned So Far.pdf
  • 8. Deriving TDD Principles learned so far.mp4
    04:47
  • 1. A stateful problem - the theatre seating datastore - checklist and day 1 tests.mp4
    16:02
  • 2. Stateful code needs tests to tidy up.mp4
    06:25
  • 3. Solve stateful code under test with classes, object factories and pure functions.mp4
    16:38
  • 4. Theatre problem - improving the implementation.mp4
    22:33
  • 5. Exercise How many spare seats on row G Get me N adjacent seats on first row..mp4
    03:03
  • 6. Solution How many spare seats on row G N adjacent seats on first row..mp4
    21:15
  • 7. May I assert something about Assertions.mp4
    05:54
  • 8.1 Wrapping Up The Fundamentals.pdf
  • 8. Wrapping up the Fundamentals.mp4
    03:59
  • 1. Example Kebab Case to Title and Parameterised Tests.mp4
    17:03
  • 2. Exercise Title to Kebab Case.mp4
    01:22
  • 3. Solution Title to Kebab Case including Round Trip testing.mp4
    13:13
  • 4. Exercise Kebab Case to Title Case (and back).mp4
    01:23
  • 5. Solution Kebab Case to Title Case and how Unit Tests love Regular Expressions.mp4
    11:02
  • 6. More Complex Challenge Org Chart Day 1.mp4
    10:52
  • 7. Developing the Org Chart Component and Using Test Factories.mp4
    32:23
  • 8. Solution - same team and same org chart.mp4
    04:47
  • 9.1 Wrap up - problem solving.pdf
  • 9. Wrap Up - Solving deeper problems Test First.mp4
    03:51
  • 10.1 Keeping Tests Under Control.pdf
  • 10. Keeping Tests Under Control.mp4
    11:17
  • 1. Controlling Environment Variables at Test Time.mp4
    15:52
  • 2. Controlling Order of Environment Variable Initialization.mp4
    05:43
  • 3. When Tests Depend on Time.mp4
    05:39
  • 4. Environment Variables Another Way.mp4
    02:24
  • 5. Who called that Mocking and Spying + Exercise.mp4
    10:07
  • 6. Solution spy on the transmission function.mp4
    04:07
  • 7. Mocking and Spying without Dependency Injection.mp4
    19:02
  • 8. Exercise data conversion.mp4
    02:12
  • 9. Solution data conversion.mp4
    09:52
  • 10. Replace Web Service with MSW.mp4
    06:39
  • 11. Further Web Service Mocking Tricks.mp4
    07:15
  • 12. Wrap up dependencies make things harder, but we still prevail.mp4
    02:09
  • 1. Black box testing by DOM example leading to an Exercise.mp4
    12:54
  • 2. Solving the exercise, leading to modularising of components and tests.mp4
    15:43
  • 1.1 jest-users.pdf
  • 1.2 tdd-in-brief.pdf
  • 1. Final Thoughts (and summary sheets).mp4
    01:44
  • Description


    How to solve real world problems test first with TDD, Vitest and TypeScript, speeding up your development

    What You'll Learn?


    • Go from Noob to Pro with real-world test driven development
    • Learn a fast effective way of bringing test automation into your coding
    • Understand how vitest allows us to build unit tests that test business logic and UI code
    • Learn how to write the right sorts of tests that add real value to your development
    • See how TDD is done in real life

    Who is this for?


  • Beginners in test automation, or practitioners looking to make their tests more valuable
  • Suitable for software developers who need to add TDD to their toolkit, or test automation specialists
  • Developers who are unsure of how TDD can help them
  • Developers looking to put TDD in context with realistic examples
  • What You Need to Know?


  • Required: Basic understanding of TypeScript, or moderate understanding of JavaScript
  • More details


    Description

    Accelerate your journey from Noob to Pro with real-world Test Driven Development. See how to gain all the benefits of Test Driven Development to speed up and secure your development process.

    Led by a professional software engineer, using practical examples, this course will make it easy to write tests during software development, and get better code, without slowing down your development cycle.

    Rather than walking through the syntax of the test tooling, this course is intended to put Test Driven Development in context. We will discover when to use certain techniques based on realistic scenarios. This connects the theory with the value of applying it.

    This is aimed at people who need to add more test automation to their workflow. We will see how to do this with purpose and style. We will learn how to avoid pitfalls and make sure we're testing the right things.

    Topics include:


    • Why we need tests

    • The basics of tests, from setup through to assertions

    • Red/Green/Refactor

    • Code coverage

    • Mocks and Test Doubles

    • Testing code that depends on APIs

    • Keeping control of test code

    • Test first with user interfaces

    Though the examples use Vitest, they can also be adapted to their equivalents in the Jest framework.

    Who this course is for:

    • Beginners in test automation, or practitioners looking to make their tests more valuable
    • Suitable for software developers who need to add TDD to their toolkit, or test automation specialists
    • Developers who are unsure of how TDD can help them
    • Developers looking to put TDD in context with realistic examples

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Ashley Frieze
    Ashley Frieze
    Instructor's Courses
    Ashley is a hands on Software Engineering Consultant, Technical Author and Mentor.As a TDD enthusiast, he has contributed to Open Source TDD projects, including creating a few test libraries under the webcompere organisation on GitHub as well as Spectrum BDD, and a minor contribution to Mockito to aid its use with Java 8.As well as running his own software development consultancy, Ashley works for Baeldung as a Technical Editor, and has produced training content for Packt.He is a passionate and energetic evangelist of Agile, TDD and Clean Coding and wants everyone to be able to deliver beautiful code that keeps working. He writes extensively about this in his CodingCraftsman Wordpress blog.In his spare time he is also a stand-up comedian, though tends to keep quiet about unit tests while on stage!
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 41
    • duration 6:11:12
    • Release Date 2024/07/26

    Courses related to Software Testing

    Courses related to TypeScript