If you recall, the duration formatter (
d7dev_integer_duration) is defined in the d7dev module. The GCD function used in the
d7dev_field_formatter_view function is a perfect candidate for a unit test, as it is completely self-contained, and does not depend on any external modules nor database interaction.
sites/all/modules/custom/d7devfolder in Aptana Studio, then right-click on that folder, and create a new folder named
d7dev.infofile, and add the following file setting:
files = tests/d7dev.test
Remember, it doesn't matter where you place your ...