Class DataHarvester::TestHarvester
In: scripts/test-harvester.rb
Parent: Test::Unit::TestCase

Suite of unit tests for the classes in this package.

Methods

Public Instance methods

Testing applying a rule to an ad

Testing keyword rules.

Testing keyword rules where case matters.

Verifying that one piece of text cannot be used for 2 matches.

Testing regex rules.

Make sure that the substitution works as expected

Verify that an ad will be split correctly into multiple items.

Tests splitting an ad that simple has a range of items, rather than each item clearly separated.

Test splitting up a text portion by a rule

[Validate]