How to test Ruby on Rails applications using RubyMine

Поделиться
HTML-код
  • Опубликовано: 31 май 2024
  • Welcome to our RUclips tutorial on mastering test workflows in RubyMine, the ultimate IDE for Ruby and Ruby on Rails development!
    Dive into the world of testing with us in this guide on working with tests in RubyMine. Whether you're a seasoned developer or just starting, we've got you covered!
    Key topics covered:
    00:00 - Introduction
    00:18 - Navigation mastery
    Learn the ins and outs of navigating through RSpec tests seamlessly within RubyMine.
    01:05 - Run options
    Explore the various options available for running your tests effortlessly. From individual tests to entire test suites, we'll guide you through the process.
    02:18 - Handling test failures
    Facing a failed test? Don't panic! We'll show you how you can work with failed tests for faster troubleshooting.
    02:54 - Debugging
    Follow along as we debug tests in real time, providing you with the skills to investigate and identify issues with ease.
    To make things even more engaging, we've prepared this tutorial using a demo project that incorporates both RSpec and Minitest tests. This hands-on experience will give you practical insights into applying these concepts to your own projects.
    Equip yourself with the tools and knowledge needed to become a testing pro in Ruby on Rails with RubyMine! Hit play and let's start!
    All RubyMine videos: • RubyMine
    Join us:
    Download RubyMine: jb.gg/unc73a
    Website: jb.gg/gvhuze
    Blog: jb.gg/c55n2h
    X: / rubymine
    #rubyonrails #rspec #rubymine
  • НаукаНаука

Комментарии • 5

  • @TWMRubyist
    @TWMRubyist 4 месяца назад

    I didn't find an ability to execute a particular test from a file with Rspec shared examples. Is it possible via UI? There is no any gutter icon.

    • @JetBrainsTV
      @JetBrainsTV  4 месяца назад

      Could you please specify which code you are using? If it's `it_behaves_like` then it's indeed not implemented yet, so please add your vote to youtrack.jetbrains.com/issue/RUBY-31431/add-a-green-triangle-against-itbehaveslike-line

    • @TWMRubyist
      @TWMRubyist 4 месяца назад

      @@JetBrainsTV Exactly this one, thanks for the link, voted.

  • @user-px7zi6ry3o
    @user-px7zi6ry3o 3 месяца назад

    does it work if project dockerized?

    • @JetBrainsTV
      @JetBrainsTV  3 месяца назад

      In case you work with Docker, the workflow is the same, but first you'll need to configure a docker Ruby SDK as it's described here: www.jetbrains.com/help/ruby/using-docker-as-a-remote-interpreter.html