Talking Drupal

Skills Upgrade #7


Listen Later

Welcome back to “Skills Upgrade” a Talking Drupal mini-series following the journey of a D7 developer learning D10. This is episode 7.

Topics
  • Review Chad's goals for the previous week

    • Test Example
    • Set up phpunit.xml
    • Start with FrontPageLinkTest.php
  • Review Chad's questions

    • In the testing_example module, the file "src/Controller/TestingExampleController.php" has a function for simpletestDescription(). Is this an outdated artifact that should have been removed at some point? The module itself doesn't appear to use Simpletest elsewhere and appears to only rely on PHPUnit.
    • What do you recommend for the minimal code structure to include for any given test type? Is the Testing Example module an ideal model or are there other resources I should review? The testing reference from Selwyn was helpful.
    • In the "FrontPageLinkDependenciesTest.php" setUp() function, the createContentType() function is called without specifying the type. Is that set somewhere else? I may have overlooked it. Nevermind—it's set using randomMachineName() in the createContentType() function. Is there anything extra or standard to write in tests for drupal.org?
  • Tasks for the upcoming week

    • Smart Date - Martin (maintainer) to review promptly, I've already chatted with him about it. Create a new functional test: "submit a range with an end time before the start and validate that an error is returned"
      • Create an issue in the Smart Date queue and assign to yourself.
      • Create an issue fork.
      • Check out the issue fork locally.
      • Write (and test) the test locally.
      • Commit and push to the issue fork.
      • Mark issue as "Needs review".
      • Ask someone to review - if all looks good, the reviewer will mark as RBTC.
Resources

Chad's Drupal 10 Learning Curriclum & Journal Chad's Drupal 10 Learning Notes

The Linux Foundation is offering a discount of 30% off e-learning courses, certifications and bundles with the code, all uppercase DRUPAL24 and that is good until June 5th https://training.linuxfoundation.org/certification-catalog/

Hosts

AmyJune Hineline - @volkswagenchick

Guests

Chad Hester - chadkhester.com @chadkhest Mike Anello - DrupalEasy.com @ultimike

...more
View all episodesView all episodes
Download on the App Store

Talking DrupalBy Talking Drupal Hosts

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

28 ratings


More shows like Talking Drupal

View all
Marketplace by Marketplace

Marketplace

8,551 Listeners

Fresh Air by NPR

Fresh Air

38,013 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

285 Listeners

Freakonomics Radio by Freakonomics Radio + Stitcher

Freakonomics Radio

32,193 Listeners

The Daily by The New York Times

The Daily

111,658 Listeners

Up First from NPR by NPR

Up First from NPR

56,099 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

984 Listeners

The Indicator from Planet Money by NPR

The Indicator from Planet Money

9,532 Listeners

Today, Explained by Vox

Today, Explained

10,053 Listeners

Techmeme Ride Home by Ride Home Media

Techmeme Ride Home

946 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

136 Listeners

Hard Fork by The New York Times

Hard Fork

5,364 Listeners

The Ezra Klein Show by New York Times Opinion

The Ezra Klein Show

15,201 Listeners

Ones and Tooze by Foreign  Policy

Ones and Tooze

343 Listeners

Better Offline by Cool Zone Media and iHeartPodcasts

Better Offline

446 Listeners