Stateless Code | Codecast: Create a RubyGem 75: Test Drive in the Console and Try to Break Things @StatelessCode | Uploaded October 2021 | Updated October 2024, 6 hours ago.
This is the 75th video in the NerdDice create a RubyGem series. In this video Mike goes through all of the requirements from the ConvenienceMethods GitHub issue and tests whether they are working as expected. He also tries to hit some of the edge cases. There are a few bugs found and they are added to the backlog for future fixes.
This video covers:
00:00:12 Introduction
00:01:21 Hop into the terminal, require the module and start testing
00:10:34 Find and log a bug: bonuses and penalties don't work if you don't specify number of dice to roll
00:12:51 Continue testing requirements
00:16:14 Attempt to combine advantage and bonus. Not working but respond_to? is true. Log the bug.
00:17:11 Explore situation where implicit advantage doesn't work and log an issue for that.
00:19:44 Final review of overall regular expression and fix invalid attribute in comments.
This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.
This is the 75th video in the NerdDice create a RubyGem series. In this video Mike goes through all of the requirements from the ConvenienceMethods GitHub issue and tests whether they are working as expected. He also tries to hit some of the edge cases. There are a few bugs found and they are added to the backlog for future fixes.
This video covers:
00:00:12 Introduction
00:01:21 Hop into the terminal, require the module and start testing
00:10:34 Find and log a bug: bonuses and penalties don't work if you don't specify number of dice to roll
00:12:51 Continue testing requirements
00:16:14 Attempt to combine advantage and bonus. Not working but respond_to? is true. Log the bug.
00:17:11 Explore situation where implicit advantage doesn't work and log an issue for that.
00:19:44 Final review of overall regular expression and fix invalid attribute in comments.
This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.