IntelliJ IDEA 2021.2 Help

Testing frameworks

This page lists testing frameworks supported by IntelliJ IDEA.

Make sure that your edition of IntelliJ IDEA supports the framework you are interested in. Frameworks and languages available only in IntelliJ IDEA Ultimate are marked with the Ultimate badge. For more information on IntelliJ IDEA editions, refer to comparison matrix.

IntelliJ IDEA for Java

IntelliJ IDEA for Python

IntelliJ IDEA for PHP

IntelliJ IDEA for Ruby

  • Test::Unit is intended for unit testing and comes bundled with Ruby.

  • Shoulda is intended for unit testing, and becomes available in Ruby projects on attaching the shoulda gem. In doing so, the Shoulda tests are added on to the Test::Unit framework.

  • RSpec. This testing tool supports BDD. RSpec becomes available in Ruby projects on attaching the rspec gem. For the Rails applications, rspec-rails gem is also required.

  • MiniTest becomes available on attaching the minitest-reporters gem. The minitests are added to the Test::Unit framework.

  • Cucumber. This testing tool supports BDD, and enables using features and scenarios written in a human-readable language, either English or any other language specified in the # language: comment. Cucumber becomes available in project upon installing and activating the cucumber gem.

Last modified: 26 August 2021