loader from loading.io

Talking Drupal #446 - Test Driven Development

Talking Drupal

Release Date: 04/15/2024

Talking Drupal #484 - Drupal CMS show art Talking Drupal #484 - Drupal CMS

Talking Drupal

Topics What is Drupal CMS Are we ready for the release Drupal 7 What can people expect Will there be a launch button If someone uses the one click install how will they know what to do next What new features are there If someone tries the trial how do they get that site on a host When will Experience builder be out Are any vendors going to provide Drupal CMS as a service What is on the roadmap How can people get involved Resources Guests Matthew Grasmick - Hosts Nic Laflin - John Picozzi - Scott Weston - MOTW Correspondent Martin Anderson-Clutz - Brief description: Have you...

info_outline
Talking Drupal #483 - Meet your host: Nic Laflin show art Talking Drupal #483 - Meet your host: Nic Laflin

Talking Drupal

On today's show we are talking with Nic. This is our chance to learn more about our beloved Talking Drupal show host. For show notes visit: Topics Talking Drupal NLightened Development Contribution Personal Background Interests Drupal Guests Nic Laflin - Hosts Stephen Cross-

info_outline
Talking Drupal #482: Meet your host: John Picozzi show art Talking Drupal #482: Meet your host: John Picozzi

Talking Drupal

On today's show we are talking with John. This is our chance to learn more about our beloved Talking Drupal show host. For show notes visit: Topics Talking Drupal Non-Code Contribution Solution Architect Personal Background and Interests Drupal Guests John Picozzi - Host Stephen Cross-

info_outline
Talking Drupal #481 - Drupal Marketing & Drupal CMS show art Talking Drupal #481 - Drupal Marketing & Drupal CMS

Talking Drupal

Today we are talking about Drupal Marketing, how it applies to Drupal CMS, and what a Drupal and Drupal CMS Marketing Future look like with guest Suzanne Dergacheva. We’ll also cover Drupal 11.1 as our module of the week. For show notes visit: Topics Drupal marketing moves New brand Marketing people at the DA Goal of marketing How does this impact Drupal CMS Drupal CMS marketing How will you educate people about the differences between core and CMS Any challenges How do you like the new homepage Next steps to move the brand forward Case studies Why did you volunteer If someone wants to...

info_outline
Talking Drupal #480 - Ripple Makers show art Talking Drupal #480 - Ripple Makers

Talking Drupal

Today we are talking about The Ripple Makers program, How it benefits Drupal Association members, and Why it’s important to Drupal with guest Julia Kranzthor. We’ll also cover Migrate Boost as our module of the week. For show notes visit: Topics What is Ripple Makers Taxes Why did the Drupal Association (DA) membership program need overhauling Are DA individual memberships different than Ripple Makers Do people have to sign up if they are already a DA member Coming up with the benefits Where did the name come from Does this have new benefits What has the impact been Resources ...

info_outline
Talking Drupal #479 - Drupal CMS Media Management show art Talking Drupal #479 - Drupal CMS Media Management

Talking Drupal

Today we are talking about Drupal CMS Media Management, How media management has evolved, and Why managing our media is so important with our guest Tony Barker. We’ll also cover URL Embed as our module of the week. For show notes visit: Topics What do we mean by media management in Drupal CMS How is it different from media in Drupal today Why is media management important How are you applying these changes to Drupal What phase are you in Will this be ready for Drupal CMS release in January What types of advanced media will supported Do you see it growing to replace some DAMs Are there...

info_outline
Talking Drupal #478 - WEBAssembly show art Talking Drupal #478 - WEBAssembly

Talking Drupal

Today we are talking about WEBAssembly, How it’s used, and cool things you can use it for with Drupal with guest Matt Glaman. We’ll also cover Darkmode JS as our module of the week. For show notes visit: Topics What is WebAssembly Progressive Web Aoos Open source Does it have a community Browser support How does it work Common use cases How can you use this with Drupal This was an early concept for Drupal trial Challenges Wordpress playground Pieces that do not work for PHP Are there risks Are there resources for people that want to use WebAssembly Do you see it being used with Drupal ...

info_outline
Talking Drupal #477 - Drupal Association CTO Then & Now show art Talking Drupal #477 - Drupal Association CTO Then & Now

Talking Drupal

Today we are talking about being the CTO of the Drupal Association, How the job has changed, and How its impacted Drupal with guests Josh Mitchell & Tim Lehnen. We’ll also cover Automatic Anchors as our module of the week. For show notes visit: Topics How long ago were you CTO Josh Tim when did you take over DA infrastructure Drupal Credit System Josh's proudest moment Tim's proudest moment Growth Josh if you could do one thing differently Tim if you could make one change Future of the CTO job Resources Guests Tim Lehnen - Hosts Nic Laflin - John Picozzi - Joshua...

info_outline
Talking Drupal #476 - Off The Cuff #10 show art Talking Drupal #476 - Off The Cuff #10

Talking Drupal

Today we are talking about some things are on our mind including, The DOJ Accessibility ruling,Drupal CMS Event Recipes and Tooling for core development with our Hosts. We’ll also cover @font-your-face as our module of the week. For show notes visit: Topics DOJ Accessibility Ruling Drupal CMS Tooling for core development Open University Resources PHPUnit testing Guests Martin Anderson-Clutz - Hosts Nic Laflin - John Picozzi - Martin Anderson-Clutz - Joshua "Josh" Mitchell - MOTW Correspondent Martin Anderson-Clutz - Brief description: Have you ever wanted to...

info_outline
Talking Drupal #475 - Workspaces show art Talking Drupal #475 - Workspaces

Talking Drupal

Today we are talking about Workspaces, What They are, and How They Work with guest Scott Weston. We’ll also cover Workspaces Extra as our module of the week. For show notes visit: Topics What are Workspaces in Drupal What's a common use cases for Workspaces Are Workspaces stable Do Workspaces help with content versioning What does the module ecosystem look like for Workspaces Inspiration Workspaces best practices Any interesting ways it is being used Is there a way to access workspace content in twig Navigation integration Workspaces and workflows What aspects of a Workspace are limited...

info_outline
 
More Episodes

Today we are talking about Test Driven Development, Why it’s important, and How it improves development with guest Alexey Korepov. We’ll also cover Test Helpers as our module of the week.

For show notes visit:
www.talkingDrupal.com/446

Topics

  • What does the term Test Driven Development (TDD) mean
  • Does Drupal make use of TDD
  • What makes TDD different from other methods of Development
  • Do you have to change your way of thinking
  • What are some good resources to learn TDD
  • Do you have any pointers for teams looking to get started
  • Are certain kinds of projects better suited to TDD
  • How have dev teams adapted to TDD
  • Any advice on environment setup
  • Any special tools

Resources

Guests

Alexey Korepov - korepov.pro Murz

Hosts

Nic Laflin - nLighteneddevelopment.com nicxvan
Martin Anderson-Clutz - mandclu
Matt Glaman - mglaman.dev mglaman

MOTW

Correspondent

Martin Anderson-Clutz - mandclu

  • Brief description:
    • Have you ever wanted an API that could dramatically simplify the process of writing Drupal unit tests? There’s a module for that.
  • Module name/project name:
  • Brief history
    • How old: created in Sep 2022 by today’s guest, Alexey Korepov
    • Versions available: 1.3.0 compatible with versions of Drupal 9.4 or newer, right up to Drupal 11
  • Maintainership
    • Actively maintained, latest release less than 3 months ago
    • Security coverage
    • Test coverage, would be ironic if it didn’t
    • API Documentation is available, linked from the project page
    • Number of open issues: 2 open issues, which are actually feature requests
  • Usage stats:
    • 5 sites officially, but modules or sites can leverage Test Helpers without enabling it, and this usage is recommended, so the number is actually higher
  • Module features and usage
    • Provides a new container that automated tests can leverage to perform common tasks with much less code.
    • For example, you can create a user or a node with a single line of code
    • You can also mock more complex operations like an entityQuery or loadMultiple call, again with a single line of code
    • Traditionally, writing unit tests is more complicated because by design they run without fully bootstrapping Drupal
    • That means that your test needs to mock functions or services in the code you’re testing which can result in units tests being much longer than the code they’re testing
    • Test Helpers also allows your tests to leverage existing mocks and stubs for popular services
    • The project page also links to the recording and slides for a talk Alexey gave about Test Helpers at DrupalCon Pittsburgh last year, if you want to do a deeper dive