Running a unit test

I am not sure what I am missing but, whenever I run a unit test class the IDE / Ruby doesn't execute my test methods.

I have both classes in the base project directory together. Here is the test class....

require 'test_class.rb'
require 'test/unit'

class TestWordsSmith

  def test_empty_string
    freq =
    assert_equal([], freq.words_from_string(""))


I know it is running through it but the results show no tests are run....

Loaded suite /home/carl/RubymineProjects/ExampleProject/test_words_smith

Finished in 0.000189 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

Process finished with exit code 0

Any help is appreciated thank you.

Please sign in to leave a comment.