Get an improved navigation experience with a Chrominium based browser.
Dismiss
Ruby Video
Talks
Speakers
Events
Leaderboard
Sign in
Talks
Speakers
Events
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Minitest 6: test feistier! by Ryan Davis Minitest 5 ships with ruby and is the standard test framework for rails. It already provides a traditional unit test framework, spec DSL, mocks, stubs, test randomization, parallelization, machine agnostic benchmarking, and tons of assertions all in under 2kloc. So what would Minitest 6 do differently? Hopefully to the end user, not much will change, and yet it will be worlds apart from Minitest 5. Come see how you can massively speed up your rails test runs and improve your testing practices by upgrading your test framework.
Date
Summary
Markdown supported
The video titled "Minitest 6: test feistier!" features Ryan Davis discussing the upcoming changes and enhancements in the Minitest testing framework, which is widely used in Ruby on Rails development. The presentation aims to inform developers about Minitest 6's benefits over Minitest 5, focusing on improving performance and testing practices without overwhelming users with excessive changes. Key points discussed in the video include: - **Introduction to Minitest**: Minitest supports both unit and functional testing, offering X unit style and spec style testing, making it versatile for different developer preferences. - **History of Minitest**: Davis shares his experience maintaining and evolving the framework since 2004, highlighting how initial complexity led to the creation of Minitest as a simpler alternative. - **Philosophy and Purpose**: The framework adopts principles from Extreme Programming (XP), focusing on ease of use and simplicity to encourage effective testing practices. - **Architectural Changes in Minitest 6**: - Introduction of parallel testing to enhance performance, potentially making it the default setting. - Improved test results serialization to support parallel and distributed testing. - **Code Changes**: - A new command line runner and better integration with existing tools like Rake. - Enhanced assertions to prevent nonsensical tests and improve error messages. - **Conclusions and Takeaways**: Davis emphasizes that Minitest aims to facilitate reproducible testing without imposing a specific philosophy or approach on users. He invites feedback and contributions as development progresses, conveying a sense of community involvement in refining the framework. Overall, the presentation offers a comprehensive overview of Minitest 6, encouraging Rails developers to adopt it to enhance their testing practices while maintaining flexibility in how they structure their tests.
Suggest modifications
Cancel